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

Change-Id: I80be39ace9d93347f81ef8acd7858d43bc4a3f1e
Cette révision appartient à :
anusha GodavarthySurya
2021-07-27 00:31:28 -07:00
révisé par Maneesh Gupta
Parent de53cd1903
révision 682151f39d
+1 -1
Voir le fichier
@@ -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;
}
}