P4 to Git Change 1078478 by xcui@merged_opencl_jxcwin on 2014/09/18 17:18:02

EPR #397491 - disable OpenCL 2.0 for mainline when there are multiple devices in the system, because svm test will fail even test on the first device

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#462 edit
这个提交包含在:
foreman
2014-09-18 18:15:20 -04:00
父节点 09c85802ff
当前提交 e7b10515af
+1 -1
查看文件
@@ -754,7 +754,7 @@ Device::create(CALuint ordinal, CALuint numOfDevices)
// Open GSL device
bool reportOCL12Device = (OPENCL_VERSION < 200);
reportOCL12Device = ((numOfDevices < 2) || (ordinal == 0)) ? (OPENCL_VERSION < 200) : true;
reportOCL12Device = (numOfDevices < 2) ? (OPENCL_VERSION < 200) : true;
if (!open(ordinal, appProfile_.enableHighPerformanceState(),
appProfile_.reportAsOCL12Device() || reportOCL12Device)) {
return false;