SWDEV-246142: Improve performance for sync with multiple streams

Change-Id: Ifc625c4c1311ac235b08ea705a3df216d47b2c5e


[ROCm/clr commit: 9124285f18]
This commit is contained in:
agodavar
2020-08-26 07:00:48 -04:00
committed by Anusha Godavarthy Surya
parent e17f998c20
commit 04f34e929a
@@ -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();