SWDEV-435715 - Acquire the streamSetLock prior to iterating the set in WaitActiveStreams
Change-Id: I0a9721dcde1a3716192d532e290d8a7afc8ac9fc
[ROCm/clr commit: 3c6505c2d5]
Этот коммит содержится в:
@@ -249,6 +249,7 @@ void iHipWaitActiveStreams(hip::Stream* blocking_stream, bool wait_null_stream)
|
||||
}
|
||||
|
||||
//Reset the dirty flag for all streams now that the marker is submitted
|
||||
amd::ScopedLock lock(streamSetLock);
|
||||
for (const auto& stream : streamSet) {
|
||||
amd::HostQueue* active_queue = stream->asHostQueue();
|
||||
if (active_queue->vdev()->isFenceDirty()) {
|
||||
|
||||
Ссылка в новой задаче
Block a user