From 001be6d3eab0220b7404c2ff8af59f614a1fdea2 Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 17 Aug 2015 15:21:17 -0400
Subject: [PATCH] P4 to Git Change 1181197 by bdhanase@opencl_intel5 on
2015/08/17 14:59:15
EPR #397491 - Re enable 32 bit OCL2.0 on Win 10
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#324 edit
[ROCm/clr commit: fe96d1dc7090d50a7c4fc0001ed6e3ef7531e816]
---
projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
index 3927ad35df..51c892309d 100644
--- a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
+++ b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
@@ -296,7 +296,7 @@ Settings::create(
if (ciPlus_) {
libSelector_ = amd::GPU_Library_CI;
- if (LP64_SWITCH(WINDOWS_SWITCH((viPlus_ && !calAttr.isWDDM2Enabled), false), true)) {
+ if (LP64_SWITCH(WINDOWS_SWITCH(viPlus_, false), true)) {
oclVersion_ = !reportAsOCL12Device && calAttr.isOpenCL200Device ?
XCONCAT(OpenCL, XCONCAT(OPENCL_MAJOR, OPENCL_MINOR)) : OpenCL12;
}