P4 to Git Change 1179851 by bdhanase@opencl_intel5 on 2015/08/12 20:49:50

EPR #397491 - Disable 32 bit OCL2.0 on Win 10 for now.  isWindows10OrLater() call doesn't work.  So, passing a flag from GSL to runtime to disable 32 bit OCL2.0 on Win 10.

	http://ocltc.amd.com/reviews/r/8234/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#321 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/backend.h#8 edit
This commit is contained in:
foreman
2015-08-12 21:03:02 -04:00
bovenliggende 473c92d0f4
commit 68cf197c22
3 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
@@ -294,7 +294,7 @@ Settings::create(
if (ciPlus_) {
libSelector_ = amd::GPU_Library_CI;
if (LP64_SWITCH(WINDOWS_SWITCH((viPlus_ && !IsWindows10OrGreater()), false), true)) {
if (LP64_SWITCH(WINDOWS_SWITCH((viPlus_ && !calAttr.isWDDM2Enabled), false), true)) {
oclVersion_ = !reportAsOCL12Device && calAttr.isOpenCL200Device ?
XCONCAT(OpenCL, XCONCAT(OPENCL_MAJOR, OPENCL_MINOR)) : OpenCL12;
}