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]
Этот коммит содержится в:
Jaydeep Patel authored and Jaydeepkumar Patel committed 2024-08-06 00:39:37 -04:00
1 родитель 82474ca1db
Коммит 12eea11370
3 files changed
+10 -1

No files matched your search

+1 -1
Просмотреть файл
@@ -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;