[Openmp-commits] [openmp] [NFC][OpenMP][Flang] Add smoke test for omp target parallel (PR #77579)

Dominik Adamski via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 10 03:13:04 PST 2024


================
@@ -0,0 +1,21 @@
+! Basic offloading test with a target region
+! REQUIRES: flang
+! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
+! UNSUPPORTED: aarch64-unknown-linux-gnu
+! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
+! UNSUPPORTED: x86_64-pc-linux-gnu
+! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
----------------
DominikAdamski wrote:

If we specify requirements as follows: `REQUIRES: flang, amdgcn-amd-amdhsa` then we will launch this test only for flang and AMDGPU (source: https://llvm.org/docs/TestingGuide.html ) . If we skip `amdgcn-amd-amdhsa` requirement, then we can launch the test with Flang + ` nvptx64-nvidia-cuda`.

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


More information about the Openmp-commits mailing list