• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// REQUIRES: clang-driver
2// REQUIRES: x86-registered-target
3// REQUIRES: amdgpu-registered-target
4//
5// RUN: %clang --target=i386-pc-windows-msvc --cuda-gpu-arch=gfx906 -nogpulib \
6// RUN:   --cuda-device-only %s -### 2>&1 | FileCheck --check-prefix=DEV %s
7// RUN: %clang --target=i386-pc-windows-msvc --cuda-gpu-arch=gfx906 -nogpulib \
8// RUN:   --cuda-host-only %s -### 2>&1 | FileCheck --check-prefix=HOST %s
9
10// DEV: "-cc1" "-mllvm" "--amdhsa-code-object-version=4" "-triple" "amdgcn-amd-amdhsa"
11// DEV-SAME: "-fno-autolink"
12
13// HOST: "-cc1" "-triple" "i386-pc-windows-msvc{{.*}}"
14// HOST-NOT: "-fno-autolink"
15