]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Driver/cuda-ptxas-path.cu
Vendor import of clang trunk r290819:
[FreeBSD/FreeBSD.git] / test / Driver / cuda-ptxas-path.cu
1 // REQUIRES: clang-driver
2 // REQUIRES: x86-registered-target
3 // REQUIRES: nvptx-registered-target
4
5 // RUN: %clang -### --target=i386-unknown-linux \
6 // RUN:   --cuda-path=%S/Inputs/CUDA_80/usr/local/cuda \
7 // RUN:   --ptxas-path=/some/path/to/ptxas %s 2>&1 \
8 // RUN: | FileCheck %s
9
10 // CHECK-NOT: "ptxas"
11 // CHECK: "/some/path/to/ptxas"
12 // CHECK-SAME: "--gpu-name" "sm_20"