What is the Difference in Between Cuda Files?

Hi Everyone,

I have installed Cuda-9.1 and there existed two files of cuda in the local file, which one of them is cuda and the other one is cuda-9.1. I have two questions:

  1. What is the difference in between?
  2. Now, I want to install cudnn. Regarding the cudnn installation guide, there says that copy the files into the CUDA Toolkit directory as following:
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
$ sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
$ sudo chmod a+r /usr/local/cuda/include/cudnn.h

My question is that in which CUDA Toolkit directory i should copy the files? cuda or cuda-9.1?

Kind regards, Ender.

cuda is a symbolic link to cuda-9.1

Read about linux symbolic links (google that). Then you will discover that the answer to your question about where to copy the files to is “it does not matter”.

Thank you. You are always my life-saver.