SWDEV-457316 - Release graph exec before stream gets deleted.

Releasing graph exec after wait completes and before delete hip::stream obj
during stream destroy.

Change-Id: I1d68aa8d844f7d3af330c6d09c44af07f8553551


[ROCm/clr commit: 8e80429b87]
This commit is contained in:
Jaydeep Patel authored and Jaydeepkumar Patel committed 2024-08-06 00:39:37 -04:00
1 parent 82474ca1db
commit 12eea11370
3 files changed
+10 -1

No files matched your search

@@ -54,7 +54,7 @@ namespace hip {
std::unordered_map<GraphExec *, std::pair<hip::Stream *, bool>>
GraphExecStatus_ ROCCLR_INIT_PRIORITY(101);
amd::Monitor GraphExecStatusLock_ ROCCLR_INIT_PRIORITY(101){
"Guards graph execution state"};
"Guards graph execution state", true};
int GraphNode::nextID = 0;
int Graph::nextID = 0;