From 18d6efdf2c6619e2b4c6692ccb4755ad2db80b4f Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 8 Jul 2014 20:23:20 -0400 Subject: [PATCH] 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 --- rocclr/runtime/device/gpu/gpudevice.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rocclr/runtime/device/gpu/gpudevice.cpp b/rocclr/runtime/device/gpu/gpudevice.cpp index 88123834ac..e259489b75 100644 --- a/rocclr/runtime/device/gpu/gpudevice.cpp +++ b/rocclr/runtime/device/gpu/gpudevice.cpp @@ -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; }