P4 to Git Change 1178942 by bdhanase@bala_workpc_ocl on 2015/08/10 20:14:46
EPR #397491 - Disable OpenCL2.0 on Win 10 for now Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#319 edit
This commit is contained in:
@@ -295,7 +295,7 @@ Settings::create(
|
||||
|
||||
if (ciPlus_) {
|
||||
libSelector_ = amd::GPU_Library_CI;
|
||||
if (LP64_SWITCH(WINDOWS_SWITCH(viPlus_, false), true)) {
|
||||
if (LP64_SWITCH(WINDOWS_SWITCH((viPlus_ && !IsWindows10OrGreater()), false), true)) {
|
||||
oclVersion_ = !reportAsOCL12Device && calAttr.isOpenCL200Device ?
|
||||
XCONCAT(OpenCL, XCONCAT(OPENCL_MAJOR, OPENCL_MINOR)) : OpenCL12;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user