• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// REQUIRES: clang-driver
2// REQUIRES: x86-registered-target
3// REQUIRES: amdgpu-registered-target
4
5// RUN: %clang -### -nogpulib -target x86_64 -fsyntax-only %s 2>&1 | FileCheck %s
6
7// Check that there are commands for both host- and device-side compilations.
8//
9// CHECK-DAG: clang{{.*}}" "-cc1" {{.*}} "-fcuda-is-device"
10// CHECK-DAG: clang{{.*}}" "-cc1" "-triple" "x86_64"
11// CHECK-NOT: clang-offload-bundler"
12