From 661353d3d43f013a932c7d77b98aba696fca9ef1 Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 12 Dec 2014 15:54:12 -0500
Subject: [PATCH] P4 to Git Change 1105053 by gandryey@gera-dev-w7 on
2014/12/12 15:44:58
ECR #304775 - Don't disable second SDMA if configuration has just 1 compute ring.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#343 edit
---
rocclr/runtime/device/gpu/gpuvirtual.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/gpu/gpuvirtual.cpp b/rocclr/runtime/device/gpu/gpuvirtual.cpp
index 757344b798..affaaaf85c 100644
--- a/rocclr/runtime/device/gpu/gpuvirtual.cpp
+++ b/rocclr/runtime/device/gpu/gpuvirtual.cpp
@@ -496,7 +496,7 @@ VirtualGPU::create(
engineMask = dev().engines().getMask((gslEngineID)(GSL_ENGINEID_COMPUTE0 + idx));
if (dev().canDMA()) {
- if (idx & 0x1) {
+ if (index() & 0x1) {
engineMask |= dev().engines().getMask(GSL_ENGINEID_DRMDMA0);
}
else {