From 9263f193d07f57a5fbd05a209bbe00a1bd2c9bd3 Mon Sep 17 00:00:00 2001 From: Christophe Paquot Date: Tue, 26 May 2020 19:22:55 -0700 Subject: [PATCH] Call notifyCmdQueue when building the event wait list SWDEV-237846 Change-Id: I8bf70e7ad19903767a080d8c6e516c83b0dc2545 [ROCm/hip commit: 3ba07f5e3cffd35d93a7596f7b978e4b106997d8] --- projects/hip/rocclr/hip_stream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/rocclr/hip_stream.cpp b/projects/hip/rocclr/hip_stream.cpp index 0f9b782066..868e0e29ba 100644 --- a/projects/hip/rocclr/hip_stream.cpp +++ b/projects/hip/rocclr/hip_stream.cpp @@ -134,6 +134,7 @@ void iHipWaitActiveStreams(amd::HostQueue* blocking_queue, bool wait_null_stream if ((command != nullptr) && // Check the current active status (command->status() != CL_COMPLETE)) { + command->notifyCmdQueue(); eventWaitList.push_back(command); } }