diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_memory_region.h b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_memory_region.h index e96a21c809..08bb78d93c 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_memory_region.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_memory_region.h @@ -157,10 +157,6 @@ class MemoryRegion : public core::MemoryRegion { return mem_props_.HeapType == HSA_HEAPTYPE_GPU_SCRATCH; } - __forceinline bool IsSvm() const { - return mem_props_.HeapType == HSA_HEAPTYPE_DEVICE_SVM; - } - __forceinline uint32_t BusWidth() const { return static_cast(mem_props_.Width); } diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp index 18bd5e4926..d3dc21cc87 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp @@ -296,8 +296,7 @@ void GpuAgent::InitRegionList() { memory_bus_width_ = mem_props[mem_idx].Width; memory_max_frequency_ = mem_props[mem_idx].MemoryClockMax; case HSA_HEAPTYPE_GPU_LDS: - case HSA_HEAPTYPE_GPU_SCRATCH: - case HSA_HEAPTYPE_DEVICE_SVM: { + case HSA_HEAPTYPE_GPU_SCRATCH: { MemoryRegion* region = new MemoryRegion(false, false, this, mem_props[mem_idx]);