From 0439dc90cd78e2e3387acaf0f036e161765a8346 Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Thu, 6 May 2021 18:40:56 -0500 Subject: [PATCH] Correct merge error. Old memory properties info name used after removing branches. This caused the CPU coarse grain pool to initialize with random bits. Change-Id: I397bc5ecf09fab69bdf1d7fafadcf54d71b64070 --- runtime/hsa-runtime/core/runtime/amd_cpu_agent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/hsa-runtime/core/runtime/amd_cpu_agent.cpp b/runtime/hsa-runtime/core/runtime/amd_cpu_agent.cpp index 1ecf9c3f9b..ddbfc1a9da 100644 --- a/runtime/hsa-runtime/core/runtime/amd_cpu_agent.cpp +++ b/runtime/hsa-runtime/core/runtime/amd_cpu_agent.cpp @@ -92,7 +92,7 @@ void CpuAgent::InitRegionList() { if (!is_apu_node) { MemoryRegion* system_region_coarse = - new MemoryRegion(false, false, is_apu_node, this, *system_prop); + new MemoryRegion(false, false, is_apu_node, this, system_props); regions_.push_back(system_region_coarse); } }