SWDEV-387810 - Fixes to verify if the current stream matches the capture stream
- invalid to synchronize or query the execution status of a capturing stream but non-capturing streams can. - If any local thread has an ongoing or concurrent capture sequence initiated with hipStreamCaptureModeGlobal, it is prohibited from unsafe calls Change-Id: Ifa641e807216d3b7c3e8c2fb1be2f7a50bd641df
This commit is contained in:
committed by
Maneesh Gupta
vanhempi
300ba5b1f1
commit
7809d2846b
@@ -29,7 +29,7 @@
|
||||
|
||||
std::vector<hip::Stream*> g_captureStreams;
|
||||
amd::Monitor g_captureStreamsLock{"StreamCaptureGlobalList"};
|
||||
static amd::Monitor g_streamSetLock{"StreamCaptureset"};
|
||||
amd::Monitor g_streamSetLock{"StreamCaptureset"};
|
||||
std::unordered_set<hip::Stream*> g_allCapturingStreams;
|
||||
|
||||
inline hipError_t ihipGraphAddNode(hipGraphNode_t graphNode, hipGraph_t graph,
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user