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

Change-Id: I577f5da2f928bff172d64d511a60e08eda28c81d
Esse commit está contido em:
German Andryeyev
2020-10-16 10:50:54 -04:00
commit d4e642203c
+4
Ver Arquivo
@@ -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;
}
}
}
}