brintos

brintos / llvm-project-archived public Read only

0
0
Text · 487 B · 9d0bb2b Raw
11 lines · plain
1! RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa,nvptx64-nvidia-cuda %s -o - | FileCheck %s2! RUN: bbc -emit-hlfir -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa,nvptx64-nvidia-cuda %s -o - | FileCheck %s3 4! This test checks the addition of the omp.target_triples attribute when the5! -fopenmp-targets option is set6 7!CHECK:      module attributes {8!CHECK-SAME: omp.target_triples = ["amdgcn-amd-amdhsa", "nvptx64-nvidia-cuda"]9program targets10end program targets11