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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir