From 025bd2995a590fac51e65dd7626d2843dca8ce3f Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 6 Apr 2016 12:34:13 -0400
Subject: [PATCH] P4 to Git Change 1255001 by xcui@merged_opencl_jxcwin on
2016/04/06 12:00:30
SWDEV-90677 - disable SVM 32 bit support for VI+ asic for windows, due to the KMD feature limitation.
code review:
http://ocltc.amd.com/reviews/r/10153/
precheckin:
http://ocltc.amd.com:8111/viewModification.html?modId=69277&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#344 edit
[ROCm/clr commit: cad5ba5387b2942865f1a54dfad12585605a4216]
---
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 0fe447530f..b9f7f7c628 100644
--- a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
+++ b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
@@ -241,7 +241,7 @@ Settings::create(
if (ciPlus_) {
libSelector_ = amd::GPU_Library_CI;
- if (LP64_SWITCH(WINDOWS_SWITCH(viPlus_, false), true)) {
+ if (LP64_SWITCH(false, true)) {
oclVersion_ = !reportAsOCL12Device && calAttr.isOpenCL200Device ?
XCONCAT(OpenCL, XCONCAT(OPENCL_MAJOR, OPENCL_MINOR)) : OpenCL12;
}