Disable extended-scope memory on gfx120x
Do not allow extended-scope fine-grain memory on gfx120x devices.
Change-Id: I1e6e6c1860de00160cca9d8137b129c7e32c0526
Signed-off-by: Chris Freehill <cfreehil@amd.com>
[ROCm/ROCR-Runtime commit: 7dd90f8361]
This commit is contained in:
committed by
Chris Freehill
parent
dd1079893a
commit
8423772acb
@@ -469,8 +469,10 @@ void GpuAgent::InitRegionList() {
|
||||
regions_.push_back(region);
|
||||
|
||||
if (region->IsLocalMemory()) {
|
||||
regions_.push_back(
|
||||
new MemoryRegion(false, false, false, true, true, this, mem_props[mem_idx]));
|
||||
// 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) ||
|
||||
|
||||
Reference in New Issue
Block a user