SWDEV-295251 - Avoid marker if queue is empty for DD to fix MT issue

Change-Id: I80be39ace9d93347f81ef8acd7858d43bc4a3f1e


[ROCm/clr commit: 682151f39d]
Tento commit je obsažen v:
anusha GodavarthySurya
2021-07-27 00:31:28 -07:00
odevzdal Maneesh Gupta
rodič 1560d8d6fe
revize fce3b20213
+1 -1
Zobrazit soubor
@@ -108,7 +108,7 @@ void HostQueue::finish() {
if (IS_HIP) {
command = getLastQueuedCommand(true);
// Check if the queue has nothing to process and return
if (command == nullptr) {
if (AMD_DIRECT_DISPATCH && command == nullptr) {
return;
}
}