From f364ab7680f7ed2b0ec09ae3d23da140b07b7a5d Mon Sep 17 00:00:00 2001 From: Jaydeep Patel Date: Mon, 20 Feb 2023 17:59:01 +0000 Subject: [PATCH] SWDEV-383397 - Set large bar false for windows. Change-Id: Iaef70e477afab7ca8694aa55d1f704e769e24ed9 --- rocclr/device/pal/paldevice.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rocclr/device/pal/paldevice.cpp b/rocclr/device/pal/paldevice.cpp index 3d758bbd21..9adfabffb5 100644 --- a/rocclr/device/pal/paldevice.cpp +++ b/rocclr/device/pal/paldevice.cpp @@ -633,7 +633,9 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp, info_.cooperativeGroups_ = settings().enableCoopGroups_; info_.cooperativeMultiDeviceGroups_ = settings().enableCoopMultiDeviceGroups_; - if (heaps[Pal::GpuHeapInvisible].logicalSize == 0) { + if (amd::IS_HIP) { + info_.largeBar_ = false; + } else if (heaps[Pal::GpuHeapInvisible].logicalSize == 0) { info_.largeBar_ = true; ClPrint(amd::LOG_INFO, amd::LOG_INIT, "Resizable bar enabled"); }