From b3135a37f877bece270603aefab07ac0d29ab5ea Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 7 Aug 2015 12:30:33 -0400
Subject: [PATCH] P4 to Git Change 1178177 by rili@rili_opencl_stg on
2015/08/07 12:18:10
EPR #424426 - enable large allocation for Win 10
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#317 edit
[ROCm/clr commit: 36b4f843f58ac4bfa51c08f0ccb06de873adc5a8]
---
projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
index 1d1659213b..bb30ac824c 100644
--- a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
+++ b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
@@ -330,11 +330,7 @@ Settings::create(
supportDepthsRGB_ = true;
}
if (use64BitPtr_) {
- if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)
-#if defined(_WIN32)
- && (!IsWindows10OrGreater())
-#endif
- ) {
+ if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)) {
maxAllocSize_ = 64ULL * Gi;
}
else {