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
This commit is contained in:
foreman
2015-06-05 15:09:54 -04:00
parent b49c9b62b0
commit 279bd0757d
+1 -1
View File
@@ -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");