summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cuda-ptxas-path.cu
blob: 3ac5932b067a667356c818b0e50299007c355b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// REQUIRES: clang-driver
// REQUIRES: x86-registered-target
// REQUIRES: nvptx-registered-target

// RUN: %clang -### --target=i386-unknown-linux \
// RUN:   --cuda-path=%S/Inputs/CUDA_80/usr/local/cuda \
// RUN:   --ptxas-path=/some/path/to/ptxas %s 2>&1 \
// RUN: | FileCheck %s

// CHECK-NOT: "ptxas"
// CHECK: "/some/path/to/ptxas"
// CHECK-SAME: "--gpu-name" "sm_20"
OpenPOWER on IntegriCloud