clang/test/Driver/cuda-short-ptr.cu
raw| 1 | // Checks that cuda compilation does the right thing when passed -fcuda-short-ptr |
| 2 | |
| 3 | // RUN: %clang -### --target=x86_64-linux-gnu -c -march=haswell --cuda-gpu-arch=sm_20 -fcuda-short-ptr -nocudainc -nocudalib --cuda-path=%S/Inputs/CUDA/usr/local/cuda %s 2>&1 | FileCheck %s |
| 4 | |
| 5 | // CHECK: "-mllvm" "--nvptx-short-ptr" |
| 6 | // CHECK-SAME: "-fcuda-short-ptr" |