From 83ea36fe338b40c265c67cc2e877ecd3ca8553fe Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 23 Jun 2015 17:27:26 -0400 Subject: [PATCH] P4 to Git Change 1164406 by rili@rili_opencl_stg on 2015/06/23 17:15:31 EPR #419313 - Limit >4GB allocation support only for workstation board Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#312 edit --- rocclr/runtime/device/gpu/gpusettings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocclr/runtime/device/gpu/gpusettings.cpp b/rocclr/runtime/device/gpu/gpusettings.cpp index b9c415780b..11d103e1f3 100644 --- a/rocclr/runtime/device/gpu/gpusettings.cpp +++ b/rocclr/runtime/device/gpu/gpusettings.cpp @@ -321,8 +321,8 @@ Settings::create( supportDepthsRGB_ = true; } if (use64BitPtr_) { - if (GPU_ENABLE_LARGE_ALLOCATION) { - maxAllocSize_ = 16ULL * Gi; + if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)) { + maxAllocSize_ = 64ULL * Gi; } else { maxAllocSize_ = 4048 * Mi;