SWDEV-469422 - Avoid using of hipStream_t in internal methods (#69)

Change-Id: Ifd5362f371c846a88241927383cb95cf046548ef
This commit is contained in:
Godavarthy Surya, Anusha
2025-04-28 15:09:11 +05:30
committed by GitHub
parent bbcb1f9c70
commit fb92683d86
10 changed files with 35 additions and 46 deletions
+1 -3
View File
@@ -682,11 +682,9 @@ bool Graph::RunNodes(
}
// ================================================================================================
hipError_t GraphExec::Run(hipStream_t graph_launch_stream) {
hipError_t GraphExec::Run(hip::Stream* launch_stream) {
hipError_t status = hipSuccess;
hip::Stream* launch_stream = hip::getStream(graph_launch_stream);
if (flags_ & hipGraphInstantiateFlagAutoFreeOnLaunch) {
if (!topoOrder_.empty()) {
topoOrder_[0]->GetParentGraph()->FreeAllMemory(launch_stream);