[PAL] Detect if resizable bar is enabled

Change-Id: I54b2e878d1cf7235a848a4b243f878538e226702


[ROCm/clr commit: 11bdf0005f]
Этот коммит содержится в:
Vladislav Sytchenko
2020-10-02 12:11:53 -04:00
родитель a893673fd7
Коммит 622d3f286c
+5
Просмотреть файл
@@ -702,6 +702,11 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
info_.cooperativeGroups_ = settings().enableCoopGroups_;
info_.cooperativeMultiDeviceGroups_ = settings().enableCoopMultiDeviceGroups_;
if (heaps[Pal::GpuHeapInvisible].heapSize == 0) {
info_.largeBar_ = true;
ClPrint(amd::LOG_INFO, amd::LOG_INIT, "Resizable bar enabled");
}
}
}