From 04f34e929a50ad4e7a8864a39dfb9c6bf642c46d Mon Sep 17 00:00:00 2001 From: agodavar Date: Wed, 26 Aug 2020 07:00:48 -0400 Subject: [PATCH] SWDEV-246142: Improve performance for sync with multiple streams Change-Id: Ifc625c4c1311ac235b08ea705a3df216d47b2c5e [ROCm/clr commit: 9124285f180de045ec0b9754662a31ae2e200e0e] --- 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 565bb6d427..7f74136080 100755 --- a/projects/clr/hipamd/rocclr/hip_stream.cpp +++ b/projects/clr/hipamd/rocclr/hip_stream.cpp @@ -162,6 +162,7 @@ void iHipWaitActiveStreams(amd::HostQueue* blocking_queue, bool wait_null_stream if (command != nullptr) { // Check the current active status if (command->status() != CL_COMPLETE) { + command->notifyCmdQueue(); eventWaitList.push_back(command); } else { command->release();