[llvm] [AMDGPU][OpenMP] Using HSA API calls for APU detection. (PR #90186)

Thorsten Blaß via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 09:13:11 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
+
----------------
ThorBl wrote:

Yes, you are right! They didn't bump up HSA_AMD_INTERFACE_VERSION_MINOR. Despite new features, the HSA versions shipped with (at least) ROCm 6.0.2 and ROCm 6.1 have the same HSA_AMD_INTERFACE_VERSION_MINOR.

https://github.com/llvm/llvm-project/pull/90186


More information about the llvm-commits mailing list