SWDEV-446726 - Disable large bar for 32 bit windows
When large bar is enabled, persistent memory leads to overallocation for 32 bit architecture.
Change-Id: Iae39359d8128588de02e42d77fe58e868b8e71fd
[ROCm/clr commit: bc80802c1a]
このコミットが含まれているのは:
@@ -663,12 +663,16 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
|
||||
// Enable StreamWrite and StreamWait for all devices
|
||||
info_.aqlBarrierValue_ = true;
|
||||
|
||||
#if defined(_WIN64)
|
||||
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");
|
||||
}
|
||||
#else // !_WIN64
|
||||
info_.largeBar_ = false;
|
||||
#endif // _WIN64
|
||||
}
|
||||
info_.virtualMemoryManagement_ = true;
|
||||
info_.virtualMemAllocGranularity_ =
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする