From 4be12926b4b38e1ed4c625a68ff55ea8e77d78a5 Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 5 Jun 2015 16:57:15 -0400 Subject: [PATCH] P4 to Git Change 1158454 by bdhanase@bala_workpc_ocl on 2015/06/05 16:42:38 EPR #397491 - Back out changelist 1152826 Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#118 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 c62312ccda..2a9bc4af06 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; -#ifdef ATI_BITS_32 +#if defined(ATI_BITS_32) && defined(ATI_OS_LINUX) m_dcfg.bEnableFlatAddressing.value = false; #else m_dcfg.bEnableFlatAddressing.value = reportAsOCL12Device ? false : (OPENCL_MAJOR >= 2);