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.
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.