[Openmp-commits] [openmp] [OpenMP][Fix] libomptarget Fortran tests (PR #74543)

Fabian Mora via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 6 11:11:12 PST 2023


================
@@ -2,8 +2,7 @@
 ! that checks constant indexing on device
 ! correctly works (regression test for prior
 ! bug).
-! REQUIRES: flang, amdgcn-amd-amdhsa
-! UNSUPPORTED: nvptx64-nvidia-cuda
+! REQUIRES: flang
 ! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
----------------
fabianmcg wrote:

I removed the restriction that test is supported.

However, there are a couple of tests that are still unsupported like `target_map_common_block2.f90`. The reason is that `nvlink` fails to resolve some external symbols (bc of the inclusion  of `omp_lib`), but those symbols shouldn't have been inserted into the module in the first place.

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


More information about the Openmp-commits mailing list