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

Change-Id: I80be39ace9d93347f81ef8acd7858d43bc4a3f1e


[ROCm/clr commit: 682151f39d]
This commit is contained in:
anusha GodavarthySurya authored and Maneesh Gupta committed 2021-08-22 23:56:08 -07:00
1 parent 1560d8d6fe
commit fce3b20213
1 file changed
+1 -1
@@ -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;
}
}