[libomptarget][amdgpu] Fix debug build from D104696
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Wed, 25 Aug 2021 00:26:45 +0000 (01:26 +0100)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Wed, 25 Aug 2021 00:27:51 +0000 (01:27 +0100)
openmp/libomptarget/plugins/amdgpu/impl/data.cpp

index 9e65b25..1bb890b 100644 (file)
@@ -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);