aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/hip-offload-arch.hip
blob: dd65a0e103ec69309da43417632a78dce0ceeecd (plain)
1
2
3
4
5
6
7
8
// RUN: %clang -### --target=x86_64-linux-gnu \
// RUN:   --offload-arch=gfx1030 \
// RUN:   --offload-arch=gfx1031 \
// RUN:   -nogpuinc -nogpulib \
// RUN:   %s 2>&1 | FileCheck %s

// CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1030"}}
// CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1031"}}