P4 to Git Change 1536922 by vsytchen@vsytchen-ocl-win10 on 2018/04/04 17:13:43

SWDEV-133818 - PAL support for Linux Pro: Coarse Grain SVM for OpenCL 2.0

	Disable OpenCL 2.0 for pal devices on Linux mainline

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#48 edit
This commit is contained in:
foreman
2018-04-04 17:55:31 -04:00
parent b49f9d5d77
commit 0c062f57e3
+1 -1
View File
@@ -257,7 +257,7 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
? XCONCAT(OpenCL, XCONCAT(OPENCL_MAJOR, OPENCL_MINOR))
: OpenCL12;
}
if (OPENCL_VERSION < 200) {
if (OPENCL_VERSION < 200 || (IS_LINUX && IS_MAINLINE)) {
oclVersion_ = OpenCL12;
}
numComputeRings_ = 8;