[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / hip-offload-arch.hip
blob770f3986baf38ce82c9032c961804ba8b24da22b
1 // REQUIRES: x86-registered-target, amdgpu-registered-target
3 // RUN: %clang -### -target x86_64-linux-gnu \
4 // RUN:   --offload-arch=gfx1030 \
5 // RUN:   --offload-arch=gfx1031 \
6 // RUN:   -nogpuinc -nogpulib \
7 // RUN:   %s 2>&1 | FileCheck %s
9 // CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1030"}}
10 // CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1031"}}