We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d5c98 commit f2ec205Copy full SHA for f2ec205
flang/test/Driver/omp-driver-offload.f90
@@ -228,6 +228,8 @@
228
! FORCE-USM-OFFLOAD-NEXT: "{{[^"]*}}flang-new" "-fc1" "-triple" "amdgcn-amd-amdhsa"
229
! FORCE-USM-OFFLOAD-SAME: "-fopenmp" "-fopenmp-force-usm"
230
231
+! Test that the -fopenmp-targets option is added to host compilation invocations
232
+! when --offload-arch is set.
233
! RUN: %flang -S -### %s -o %t 2>&1 \
234
! RUN: -fopenmp --offload-arch=gfx90a \
235
! RUN: --target=x86_64-unknown-linux-gnu \
0 commit comments