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


[ROCm/clr commit: 68cf197c22]
Cette révision appartient à :
foreman
2015-08-12 21:03:02 -04:00
Parent cd07dd6fad
révision e75f6223e2
3 fichiers modifiés avec 3 ajouts et 1 suppressions
+1 -1
Voir le fichier
@@ -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;
}