Skip to content

Commit a1a7361

Browse files
authored
[flang][OpenMP] Fix failure reported on #155992 (#158813)
Adds a requirement on a test to run only when amd gpu is a registered target. We need to do this since the test uses `-triple amdgcn-amd-amdhsa` when invoking flang.
1 parent 10be515 commit a1a7361

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flang/test/Transforms/DoConcurrent/host_eval.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
! REQUIRES: amdgpu-registered-target
2+
13
! Tests `host_eval` clause code-gen and loop nest bounds on host vs. device.
24

35
! RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa \

0 commit comments

Comments
 (0)