From e08daae65705c2e4e9ca72a85aa6c26371a0f79a Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 5 Jun 2015 18:32:33 -0400
Subject: [PATCH] P4 to Git Change 1158497 by bdhanase@bala_workpc_ocl on
2015/06/05 18:25:55
EPR #397491 - Back out changelist 1158454
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#119 edit
---
rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp b/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp
index 2a9bc4af06..c62312ccda 100644
--- a/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp
+++ b/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp
@@ -276,7 +276,7 @@ CALGSLDevice::open(uint32 gpuIndex, bool enableHighPerformanceState, bool report
m_dcfg.bEnableSvm.value = reportAsOCL12Device ? false : OPENCL_MAJOR >= 2;
m_dcfg.bEnableFlatAddressing.hasValue = true;
-#if defined(ATI_BITS_32) && defined(ATI_OS_LINUX)
+#ifdef ATI_BITS_32
m_dcfg.bEnableFlatAddressing.value = false;
#else
m_dcfg.bEnableFlatAddressing.value = reportAsOCL12Device ? false : (OPENCL_MAJOR >= 2);