2019-10-09 02:06:51 +08:00
|
|
|
// REQUIRES: x86-registered-target
|
|
|
|
// REQUIRES: amdgpu-registered-target
|
|
|
|
|
2020-03-12 10:48:12 +08:00
|
|
|
// RUN: %clang -### -nogpulib -target x86_64 -fsyntax-only %s 2>&1 | FileCheck %s
|
2019-10-09 02:06:51 +08:00
|
|
|
|
|
|
|
// Check that there are commands for both host- and device-side compilations.
|
|
|
|
//
|
|
|
|
// CHECK-DAG: clang{{.*}}" "-cc1" {{.*}} "-fcuda-is-device"
|
|
|
|
// CHECK-DAG: clang{{.*}}" "-cc1" "-triple" "x86_64"
|
|
|
|
// CHECK-NOT: clang-offload-bundler"
|