We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f69e97 commit 7e86002Copy full SHA for 7e86002
clang/test/Driver/cuda-windows-cuda-path.cpp
@@ -0,0 +1,13 @@
1
+///
2
+/// Make sure that CUDA_PATH is picked up correctly when looking for CUDA
3
+/// instalation.
4
5
+
6
+// REQUIRES: system-windows
7
+// RUN: env CUDA_PATH=%S\Inputs\CUDA_111\usr\local\cuda %clang -fsycl \
8
+// RUN: -fsycl-targets=nvptx64-nvidia-cuda -### -v %s 2>&1 | \
9
+// RUN: FileCheck %s
10
11
+// CHECK: Found CUDA installation: {{.*}}Inputs\CUDA_111\usr\local\cuda, version 11.1
12
13
+int main() {}
0 commit comments