P4 to Git Change 1053388 by xcui@merged_opencl_jxcwin on 2014/07/08 20:17:30

EPR #304775 - temporarily disable the SVM fine_grained_buffer support for OpenCL 2.0 on discrete GPUs, because the feature is supposed to release in 14.50. After the 14.40 is branched, we will enable it again on stg.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#445 edit
Tá an tiomantas seo le fáil i:
foreman tiomanta 2014-07-08 20:23:20 -04:00
1 tuismitheoir bf32cddc03
tiomantas 18d6efdf2c
1 comhad athraithe
+1 -2
+1 -2
Féach ar an gComhad
@@ -611,8 +611,7 @@ void Device::fillDeviceInfo(
info_.executionCapabilities_ = CL_EXEC_KERNEL;
if (settings().oclVersion_ >= OpenCL20) {
info_.svmCapabilities_ = CL_DEVICE_SVM_COARSE_GRAIN_BUFFER |
CL_DEVICE_SVM_FINE_GRAIN_BUFFER;
info_.svmCapabilities_ = CL_DEVICE_SVM_COARSE_GRAIN_BUFFER;
if (settings().svmAtomics_) {
info_.svmCapabilities_ |= CL_DEVICE_SVM_ATOMICS;
}