diff --git a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp index b7eedc8e52..6182f358e1 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp @@ -268,7 +268,8 @@ Settings::create( supportDepthsRGB_ = true; } if (use64BitPtr_) { - if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)) { + if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation) + && (oclVersion_ == OpenCL20)) { maxAllocSize_ = 64ULL * Gi; } else {