cuDNN 7.6.3

Installing cuDNN on CUDA 10.1

Navigate to your <cudnnpath> directory containing cuDNN Debian file.
sudo dpkg -i libcudnn7_7.6.3.30-1+cuda10.1_amd64.deb

Install the developer library, for example:

sudo dpkg -i libcudnn7-dev_7.6.3.30-1+cuda10.1_amd64.deb

Install the code samples and the cuDNN Library User Guide, for example:

sudo dpkg -i libcudnn7-doc_7.6.3.30-1+cuda10.1_amd64.deb

Verifying

To verify that cuDNN is installed and is running properly, compile the mnistCUDNN sample located in the /usr/src/cudnn_samples_v7 directory in the debian file.
Copy the cuDNN sample to a writable path.

$cp -r /usr/src/cudnn_samples_v7/ $HOME

Go to the writable path.

$ cd  $HOME/cudnn_samples_v7/mnistCUDNN

Compile the mnistCUDNN sample.

$ make clean && make

Run the mnistCUDNN sample.

$ ./mnistCUDNN
If cuDNN is properly installed and running on your Linux system, you will see a message similar to the following:

Test passed!
image_pdfimage_print