Revert rocr: Only expose ext-fine-grain pool on xgmi-hive systems
This reverts commit 6dac90c89a.
Этот коммит содержится в:
коммит произвёл
Yat Sin, David
родитель
d4b85b6bf5
Коммит
ce0244ac03
@@ -491,16 +491,17 @@ void GpuAgent::InitRegionList() {
|
||||
regions_.push_back(region);
|
||||
|
||||
if (region->IsLocalMemory()) {
|
||||
// Extended Fine-Grain memory
|
||||
if (!(isa_->GetMajorVersion() == 12 && isa_->GetMinorVersion() == 0))
|
||||
regions_.push_back(
|
||||
new MemoryRegion(false, false, false, true, true, this, mem_props[mem_idx]));
|
||||
|
||||
// Expose VRAM as uncached/fine grain over PCIe (if enabled) or XGMI.
|
||||
bool user_visible = (properties_.HiveID != 0) ||
|
||||
core::Runtime::runtime_singleton_->flag().fine_grain_pcie();
|
||||
|
||||
regions_.push_back(new MemoryRegion(true, false, false, false, user_visible, this,
|
||||
mem_props[mem_idx]));
|
||||
|
||||
// Extended Fine-Grain memory
|
||||
regions_.push_back(new MemoryRegion(false, false, false, true, user_visible, this,
|
||||
mem_props[mem_idx]));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user