From 279bd0757d824ee101e23b13c3877f416501f874 Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 5 Jun 2015 15:09:54 -0400 Subject: [PATCH] P4 to Git Change 1158411 by bdhanase@bala_workpc_ocl on 2015/06/05 15:03:35 EPR #397491 - Disable 32 bit OpenCL2.0 on Linux alone http://ocltc.amd.com/reviews/r/7683/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#151 edit --- rocclr/runtime/device/gpu/gpucompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/device/gpu/gpucompiler.cpp b/rocclr/runtime/device/gpu/gpucompiler.cpp index 1ce777de9c..d75b732872 100644 --- a/rocclr/runtime/device/gpu/gpucompiler.cpp +++ b/rocclr/runtime/device/gpu/gpucompiler.cpp @@ -416,7 +416,7 @@ HSAILProgram::compileImpl( compileOptions_.append(opts.str()); } -#if !defined(_LP64) +#if !defined(_LP64) && defined(ATI_OS_LINUX) if (options->origOptionStr.find("-cl-std=CL2.0") != std::string::npos && !dev().settings().force32BitOcl20_) { errorCode = ACL_UNSUPPORTED; LogWarning("aclCompile failed");