From a6accd4db6c80e36f380edac10a64d285f85cd91 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/hip commit: 76824a7f0431525ff7beb3bb15602ec5804c892d] --- 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 565bb6d427..7f74136080 100755 --- a/projects/hip/rocclr/hip_stream.cpp +++ b/projects/hip/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();