Revert rocr: Only expose ext-fine-grain pool on xgmi-hive systems
This reverts commit0097218f2b. [ROCm/ROCR-Runtime commit:ce0244ac03]
This commit is contained in:
committed by
Yat Sin, David
szülő
938b34da24
commit
d94b4becd8
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user