SWDEV-496544 - Reset mem alloc node count for AutoFreeOnLaunch.

Change-Id: Ib32b04584548a46632606ecd85b58c6ce4a5894d
이 커밋은 다음에 포함됨:
Jaydeep Patel가 2024-11-11 11:03:32 +00:00를 커밋했습니다
1 부모 cc25c5d646
커밋 24c57cb984
1 파일이 변경됨
+1
+1
파일 보기
@@ -832,6 +832,7 @@ hipError_t GraphExec::Run(hipStream_t graph_launch_stream) {
if (flags_ & hipGraphInstantiateFlagAutoFreeOnLaunch) {
if (!topoOrder_.empty()) {
topoOrder_[0]->GetParentGraph()->FreeAllMemory(launch_stream);
topoOrder_[0]->GetParentGraph()->memalloc_nodes_ = 0;
}
}