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
这个提交包含在:
@@ -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;
|
||||
|
||||
在新工单中引用
屏蔽一个用户