Closed Godricly closed 3 years ago
Yeah, the header file locations are moving around quite a bit, both for the CUDA toolkit installer and the deb packages.
nvidia_libs_test expects that the CUDA toolkit and cuDNN are both self-contained in a directory. Everything else ends up pretty complicated, see e.g. TensorFlow's find_cuda_config.py.
I would recommend running the CUDA toolkit installer and extracting everything to a single directory through command line arguments, instead of using the deb package.
this file is relocated under /usr/local/cuda in CUDA 11.1(installed from local deb.)