From ba8547775b0c83ea0818cfb4e9b390d1bab26e42 Mon Sep 17 00:00:00 2001 From: Jon Chesterfield Date: Wed, 25 Aug 2021 01:26:45 +0100 Subject: [PATCH] [libomptarget][amdgpu] Fix debug build from D104696 --- openmp/libomptarget/plugins/amdgpu/impl/data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmp/libomptarget/plugins/amdgpu/impl/data.cpp b/openmp/libomptarget/plugins/amdgpu/impl/data.cpp index 9e65b25..1bb890b 100644 --- a/openmp/libomptarget/plugins/amdgpu/impl/data.cpp +++ b/openmp/libomptarget/plugins/amdgpu/impl/data.cpp @@ -21,7 +21,7 @@ namespace core { hsa_status_t Runtime::HostMalloc(void **ptr, size_t size, hsa_amd_memory_pool_t MemoryPool) { hsa_status_t err = hsa_amd_memory_pool_allocate(MemoryPool, size, 0, ptr); - DEBUG_PRINT("Malloced [CPU %d] %p\n", DeviceId, *ptr); + DEBUG_PRINT("Malloced %p\n", *ptr); if (err == HSA_STATUS_SUCCESS) { err = core::allow_access_to_all_gpu_agents(*ptr); -- 2.7.4