[Openmp-commits] [openmp] 1bc3a6e - [libomptarget] Reapply 2bc4d48a78b which was accidentally reverted
Jon Chesterfield via Openmp-commits
openmp-commits at lists.llvm.org
Thu Oct 7 12:17:55 PDT 2021
Author: Jon Chesterfield
Date: 2021-10-07T20:17:48+01:00
New Revision: 1bc3a6e41b6f7ccb86e5a9701fb9024e3a679d0e
URL: https://github.com/llvm/llvm-project/commit/1bc3a6e41b6f7ccb86e5a9701fb9024e3a679d0e
DIFF: https://github.com/llvm/llvm-project/commit/1bc3a6e41b6f7ccb86e5a9701fb9024e3a679d0e.diff
LOG: [libomptarget] Reapply 2bc4d48a78b which was accidentally reverted
Added:
Modified:
openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins/amdgpu/src/rtl.cpp b/openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
index ef1efef833dd4..973a3c8b33fd2 100644
--- a/openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
+++ b/openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
@@ -595,9 +595,7 @@ class RTLDeviceInfoTy {
hsa_status_t Err = hsa_amd_agent_iterate_memory_pools(
Agent, core::addMemoryPool, static_cast<void *>(&HostPools));
if (Err != HSA_STATUS_SUCCESS) {
- DP("[%s:%d] %s failed: %s\n", __FILE__, __LINE__,
- "Iterate all memory pools", get_error_string(Err));
- return Err;
+ DP("addMemoryPool returned %s, continuing\n", get_error_string(Err));
}
}
More information about the Openmp-commits
mailing list