diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_memory_region.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_memory_region.cpp index 39814839e5..4ed0f627b0 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_memory_region.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_memory_region.cpp @@ -524,10 +524,6 @@ hsa_status_t MemoryRegion::AllowAccess(uint32_t num_agents, lock.Release(); - for (GpuAgentInt* gpu : whitelist_gpus) { - gpu->PreloadBlits(); - } - return HSA_STATUS_SUCCESS; } @@ -598,10 +594,6 @@ hsa_status_t MemoryRegion::Lock(uint32_t num_agents, const hsa_agent_t* agents, *agent_ptr = host_ptr; } - for (auto gpu : whitelist_gpus) { - static_cast(gpu)->PreloadBlits(); - } - return HSA_STATUS_SUCCESS; } amd::MemoryRegion::DeregisterMemory(host_ptr);