Revert CRAT table workaround.

Change-Id: Ic2bf9e1fb1d00c5a31d52560e0eb37e0ae1ab08a
This commit is contained in:
Sean Keely
2018-01-30 18:26:53 -06:00
parent d472b24d05
commit 91f559802d
@@ -77,11 +77,6 @@ void CpuAgent::InitRegionList() {
});
if (system_prop != mem_props.end()) {
// CRAT/KFD workaround
for (auto idx = system_prop + 1; idx != mem_props.end(); idx++) {
if (idx->HeapType == HSA_HEAPTYPE_SYSTEM) system_prop->SizeInBytes += idx->SizeInBytes;
}
MemoryRegion* system_region_fine =
new MemoryRegion(true, is_apu_node, this, *system_prop);