diff --git a/projects/clr/rocclr/runtime/device/gpu/gpudevice.cpp b/projects/clr/rocclr/runtime/device/gpu/gpudevice.cpp index 27f5c77de9..8e072c8639 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpudevice.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpudevice.cpp @@ -314,7 +314,7 @@ void NullDevice::fillDeviceInfo( #endif if (settings().apuSystem_) { info_.globalMemSize_ += - (static_cast(calAttr.uncachedRemoteRAM) * Mi); + (static_cast(calAttr.uncachedRemoteRAM) * Mi * 75)/100; } // We try to calculate the largest available memory size from @@ -329,7 +329,7 @@ void NullDevice::fillDeviceInfo( #if defined(ATI_OS_WIN) if (settings().apuSystem_) { info_.maxMemAllocSize_ = std::max( - (static_cast(calAttr.uncachedRemoteRAM) * Mi), + (static_cast(calAttr.uncachedRemoteRAM) * Mi * 75)/100, info_.maxMemAllocSize_); } #endif