diff --git a/projects/clr/rocclr/device/gpu/gpusettings.cpp b/projects/clr/rocclr/device/gpu/gpusettings.cpp index 21ae69b572..3602b1f9ab 100644 --- a/projects/clr/rocclr/device/gpu/gpusettings.cpp +++ b/projects/clr/rocclr/device/gpu/gpusettings.cpp @@ -294,7 +294,7 @@ bool Settings::create(const CALdeviceattribs& calAttr, bool reportAsOCL12Device, supportDepthsRGB_ = true; } if (use64BitPtr_) { - if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation) && (oclVersion_ == OpenCL20)) { + if ((GPU_ENABLE_LARGE_ALLOCATION) && (oclVersion_ == OpenCL20)) { maxAllocSize_ = 64ULL * Gi; } else { maxAllocSize_ = 4048 * Mi; diff --git a/projects/clr/rocclr/device/pal/palsettings.cpp b/projects/clr/rocclr/device/pal/palsettings.cpp index b43d5b9916..f90aefe0cf 100644 --- a/projects/clr/rocclr/device/pal/palsettings.cpp +++ b/projects/clr/rocclr/device/pal/palsettings.cpp @@ -332,7 +332,7 @@ bool Settings::create(const Pal::DeviceProperties& palProp, supportDepthsRGB_ = true; } if (use64BitPtr_) { - if (amd::IS_HIP || (GPU_ENABLE_LARGE_ALLOCATION && wscaps.workStationBoard)) { + if (GPU_ENABLE_LARGE_ALLOCATION) { maxAllocSize_ = 64ULL * Gi; } else { maxAllocSize_ = 4048 * Mi;