From 2e7ba8514fb044727226fa833b8ab160587e34aa Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 12 Apr 2017 16:06:33 -0400
Subject: [PATCH] P4 to Git Change 1397610 by gandryey@gera-w8 on 2017/04/12
15:54:41
SWDEV-79445 - OCL generic changes and code clean-up
- Disable large allocations in PAL, since it's not supported.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#22 edit
---
rocclr/runtime/device/pal/palsettings.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/pal/palsettings.cpp b/rocclr/runtime/device/pal/palsettings.cpp
index 5ef4e6f4bb..43e11aac09 100644
--- a/rocclr/runtime/device/pal/palsettings.cpp
+++ b/rocclr/runtime/device/pal/palsettings.cpp
@@ -265,7 +265,7 @@ Settings::create(
supportDepthsRGB_ = true;
}
if (use64BitPtr_) {
- if (GPU_ENABLE_LARGE_ALLOCATION && wscaps.workStationBoard) {
+ if (GPU_ENABLE_LARGE_ALLOCATION && false/*wscaps.workStationBoard*/) {
maxAllocSize_ = 64ULL * Gi;
}
else {