P4 to Git Change 1063414 by gandryey@gera-dev-w7 on 2014/08/06 11:30:27

ECR #304775 - Add OPENCL_VERSION key to force OCL1.2

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#453 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#274 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#209 edit
This commit is contained in:
foreman
2014-08-06 11:38:31 -04:00
parent 11dccb06ae
commit e416c5bbf0
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ Settings::create(
force32BitOcl20_ = true;
oclVersion_ = reportAsOCL12Device ? OpenCL12 : XCONCAT(OpenCL,XCONCAT(OPENCL_MAJOR,OPENCL_MINOR));
}
if (hsail_) {
if (hsail_ || (OPENCL_VERSION < 200)) {
oclVersion_ = OpenCL12;
}
numComputeRings_ = 8;