[llvm] [OpenMP] Add test to print interop identifiers (PR #161434)

Alex Duran via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 02:32:19 PDT 2025


adurang wrote:

Just wondering if there's a way to have this test enabled for all plugins and not just AMD (as otherwise we would need the same for each other plugin at least?).  Like having another RUN command for NVIDIA with a different prefix for example?

Also, I'd suggest to loop through all devices and not just the default device:

```
for ( int id = 0; id< omp_get_num_devices(); id++ ) {
  omp_interop_t iop;
  #pragma omp interop init(targesync:iop) device(id)
  ...
}

```


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


More information about the llvm-commits mailing list