Skip to content

Commit e7a91d4

Browse files
ergawygithub-actions[bot]
authored andcommitted
Automerge: [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.
2 parents 3717b4f + a1a7361 commit e7a91d4

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)