Skip to content

Commit 7e86002

Browse files
committed
Test for cuda path.
1 parent 2f69e97 commit 7e86002

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)