llvm-project/clang/test/Driver/hip-no-device-libs.hip

12 lines
316 B
Plaintext

// REQUIRES: clang-driver
// REQUIRES: x86-registered-target
// REQUIRES: amdgpu-registered-target
// RUN: %clang -### -nogpulib -target x86_64-linux-gnu \
// RUN: -x hip --cuda-gpu-arch=gfx900 \
// RUN: %S/Inputs/hip_multiple_inputs/b.hip \
// RUN: 2>&1 | FileCheck %s
// CHECK-NOT: "-mlink-builtin-bitcode"