[llvm] [AMDGPU][OpenMP] Using HSA API calls for APU detection. (PR #90186)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 06:16:50 PDT 2024
================
@@ -57,6 +57,12 @@
#endif
#if defined(__has_include)
+#if __has_include("hip/hip_version.h")
+#include "hip/hip_version.h"
+#else
+#include "hip_version.h"
+#endif
+
----------------
jhuber6 wrote:
Okay, so we'll automatically pick this up once the ROCm installation is upgrades? How about in the `dlopen(libhsa-runtime64.so` case? I think we want an actual function to get the versions as well in those cases.
https://github.com/llvm/llvm-project/pull/90186
More information about the llvm-commits
mailing list