Add an early exit if it's a null stream wait

Change-Id: I577f5da2f928bff172d64d511a60e08eda28c81d


[ROCm/hip commit: a04a9a51a8]
This commit is contained in:
German Andryeyev
2020-10-16 10:50:54 -04:00
förälder 20390689ff
incheckning 4679873edd
+4
Visa fil
@@ -168,6 +168,10 @@ void iHipWaitActiveStreams(amd::HostQueue* blocking_queue, bool wait_null_stream
command->release();
}
}
// Nullstream, hence there is nothing else to wait
if (wait_null_stream) {
break;
}
}
}
}