[llvm-branch-commits] [llvm] [openmp] [OpenMP] Implement omp_get_uid_from_device() / omp_get_device_from_uid() (PR #164392)
Michael Klemm via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Oct 21 06:52:53 PDT 2025
================
@@ -21,6 +21,8 @@ template <typename T> using Constant = __gpu_constant T;
template <typename T> using Local = __gpu_local T;
template <typename T> using Global = __gpu_local T;
+#define omp_invalid_device -2
----------------
mjklemm wrote:
Please add a comment here that connects this line to `omp.h.var` and `omp.f90.var` to make sure what if it is changed, also the external visible OpenMP interface needs to change.
https://github.com/llvm/llvm-project/pull/164392
More information about the llvm-branch-commits
mailing list