Skip to content

Commit f2ec205

Browse files
committed
Add missing test comment
1 parent a5d5c98 commit f2ec205

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flang/test/Driver/omp-driver-offload.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@
228228
! FORCE-USM-OFFLOAD-NEXT: "{{[^"]*}}flang-new" "-fc1" "-triple" "amdgcn-amd-amdhsa"
229229
! FORCE-USM-OFFLOAD-SAME: "-fopenmp" "-fopenmp-force-usm"
230230

231+
! Test that the -fopenmp-targets option is added to host compilation invocations
232+
! when --offload-arch is set.
231233
! RUN: %flang -S -### %s -o %t 2>&1 \
232234
! RUN: -fopenmp --offload-arch=gfx90a \
233235
! RUN: --target=x86_64-unknown-linux-gnu \

0 commit comments

Comments
 (0)