llvm-for-llvmta/tools/clang/test/Driver/hip-windows-filename.hip

11 lines
420 B
Plaintext

// REQUIRES: system-windows, clang-driver, amdgpu-registered-target
// RUN: %clang -### -target x86_64-pc-windows-msvc \
// RUN: -x hip \
// RUN: --offload-arch=gfx908:xnack+ \
// RUN: -nogpuinc -nogpulib -save-temps \
// RUN: %s 2>&1 | FileCheck %s
// CHECK: "-o" "hip-windows-filename-hip-amdgcn-amd-amdhsa-gfx908@xnack+.cui"
// CHECK-NOT: "-o" "hip-windows-filename-hip-amdgcn-amd-amdhsa-gfx908:xnack+.cui"