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
[ROCm/clr commit: 279bd0757d]
Bu işleme şunda yer alıyor:
1 ebeveyn
190f302acd
işleme
0d655745a5
1 file changed
+1
-1
@@ -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
Bir kullanıcı engelle