[llvm-branch-commits] [flang] [llvm] [mlir] [MLIR][OpenMP] Add OpenMPToLLVMIRTranslation support for is_device_ptr (PR #169367)

Abhinav Gaba via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 25 13:09:09 PST 2025


================
@@ -0,0 +1,79 @@
+! Validate that a device pointer allocated via OpenMP runtime APIs can be
+! consumed by a TARGET region using the is_device_ptr clause.
+! REQUIRES: flang, amdgcn-amd-amdhsa
+! UNSUPPORTED: nvptx64-nvidia-cuda
+! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+! UNSUPPORTED: aarch64-unknown-linux-gnu
----------------
abhinavgaba wrote:

Is there a technical reason a lot of these offloading/fortran tests are disabled on other architectures?

Keeping them enabled, at least on cpu targets, would let a lot more people who work on libomptarget but don't have an AMD GPU, test the impact of their changes on these tests locally, without relying on post-commit buildbot testing.



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


More information about the llvm-branch-commits mailing list