llvm-project/clang/test/Driver/hip-syntax-only.hip

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
414 B
Plaintext
Raw Normal View History

// REQUIRES: clang-driver
// REQUIRES: x86-registered-target
// REQUIRES: amdgpu-registered-target
// RUN: %clang -### -nogpulib -target x86_64 -fsyntax-only %s 2>&1 | FileCheck %s
// 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"