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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user