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

Jan André Reuter via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 02:30:07 PDT 2025


Thyre wrote:

Thanks for creating the PR to add a test for this :smile: 

Just for my understanding:

We add a test to ensure that the strings for AMDGPU are correct. Looking at the already existing test for NVIDIA/CUDA in [offload/test/offloading/interop.c](https://github.com/llvm/llvm-project/blob/55803b8af1e4ddde1c0c43a9cd283133205c295d/offload/test/offloading/interop.c), we never check the returned values and basically just try to ensure that the calls don't crash (with one additional test to check if we got a CUDA stream from the OpenMP runtime), right? Should we add similar tests for Intel & NVIDIA as well?

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


More information about the llvm-commits mailing list