From 5c6eb9d62ef9963e8995cd4589e04d98426b937e Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 22 Sep 2014 18:33:46 -0400
Subject: [PATCH] P4 to Git Change 1079573 by bdhanase@bala_workpc_ocl on
2014/09/22 18:26:26
EPR #405824 - set apusystem_ to 1 for CZ
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#282 edit
---
rocclr/runtime/device/gpu/gpusettings.cpp | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/rocclr/runtime/device/gpu/gpusettings.cpp b/rocclr/runtime/device/gpu/gpusettings.cpp
index 539dbb3422..78bcdb6dd6 100644
--- a/rocclr/runtime/device/gpu/gpusettings.cpp
+++ b/rocclr/runtime/device/gpu/gpusettings.cpp
@@ -242,17 +242,15 @@ Settings::create(
}
enableExtension(ClAmdImage2dFromBufferReadOnly);
break;
+ case CAL_TARGET_CARRIZO:
+ apuSystem_ = true;
case CAL_TARGET_ICELAND:
case CAL_TARGET_TONGA:
case CAL_TARGET_BERMUDA:
case CAL_TARGET_FIJI:
- case CAL_TARGET_CARRIZO:
// Disable tiling aperture on VI+
linearPersistentImage_ = true;
viPlus_ = true;
- if (target == CAL_TARGET_CARRIZO) {
- apuSystem_ = true;
- }
// Fall through to CI ...
case CAL_TARGET_KALINDI:
case CAL_TARGET_SPECTRE: