Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
Apache License 2.0
2.97k stars 112 forks source link

Fix: add Debian's installation to default paths #72

Closed vmx closed 2 years ago

vmx commented 2 years ago

When you install nvidia-cuda-toolkit on Debian, it installs the CUDA libraries into /usr/lib/cuda. Add this path to the default search paths.

I only use cust and with this patch, I can compile my code without any additional environment variables. I know that probably few people use the distro versions of the NVIDIA tools, but I do as my machine doesn't even have an NVIDIA GPU.