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

Change-Id: I577f5da2f928bff172d64d511a60e08eda28c81d


[ROCm/clr commit: d4e642203c]
Tá an tiomantas seo le fáil i:
German Andryeyev
2020-10-16 10:50:54 -04:00
tuismitheoir 1b1b2998ad
tiomantas 0cdff99dd0
+4
Féach ar an gComhad
@@ -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;
}
}
}
}