From df67d8971ae8baed0926aa48115390bef01946ea 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/clr commit: 1cfc9d1860f9e3d40bcc484271309d7a223f95d5] --- projects/clr/hipamd/rocclr/hip_stream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/hipamd/rocclr/hip_stream.cpp b/projects/clr/hipamd/rocclr/hip_stream.cpp index 0f9b782066..868e0e29ba 100644 --- a/projects/clr/hipamd/rocclr/hip_stream.cpp +++ b/projects/clr/hipamd/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); } }