reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
// REQUIRES: clang-driver
// REQUIRES: x86-registered-target
// REQUIRES: amdgpu-registered-target

// RUN: %clang -### -x hip -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"