[llvm] [openmp] Reland: [OpenMP] Implement omp_get_uid_from_device() / omp_get_device_from_uid() (PR #168554)

Kareem Ergawy via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 22:17:26 PST 2025


================
@@ -491,13 +491,15 @@
 
         function omp_get_uid_from_device(device_num) bind(c)
           import
+          import :: c_ptr
----------------
ergawy wrote:

I think this should be also a `use, intrinsic ....` statement. With the `import`, it is assumed that `c_ptr` is declared in the host scope. @mjklemm, let me know if I am wrong here.

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


More information about the llvm-commits mailing list