Skip to content
This repository was archived by the owner on Mar 29, 2025. It is now read-only.

Commit ac91f72

Browse files
committed
Document Windows Cuda discovery in README
1 parent afb7884 commit ac91f72

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@ cuda-sys
77

88
Rust binding to CUDA Driver(`libcuda.so`)/Runtime(`libcudart.so`) APIs
99

10-
- This crate does not include CUDA itself. You need to install on your own.
11-
- `$CUDA_LIBRARY_PATH` (e.g. `/opt/cuda/lib64`) will be used for `cargo:rustc-link-search`
10+
This crate does not include CUDA itself. You need to install on your own.
11+
12+
`$CUDA_LIBRARY_PATH` (e.g. `/opt/cuda/lib64`) will be used for
13+
`cargo:rustc-link-search`. `$CUDA_LIBRARY_PATH` is not required on Windows when
14+
Cuda is installed via the typical Windows installer. To verify that cuda-sys can
15+
find your Cuda installation, you can check that the `CUDA_PATH` environment
16+
variable has been set.

0 commit comments

Comments
 (0)