I started this exercise by studying this page:
Which led me to this page:
I clicked on the Download-button.
That led me to a registration page; so I registered.
Next, I logged-in.
I saw several download links.
I clicked this one:
Download cuDNN v7.1.2 (Mar 21, 2018), for CUDA 9.1
It offered more links.
I clicked this one: 'cuDNN v7.1.2 Library for Linux'
Which had this URL:
After the download I saw this file:
dan@a78:~/Downloads $ ls -latr -rw-rw-r-- 1 dan dan 426686668 Apr 3 21:25 cudnn-9.1-linux-x64-v7.1.tgz dan@a78:~/Downloads $ dan@a78:~/Downloads $
Next I ran some shell commands to install cuDNN:
cd ~/Downloads/ tar xf cudnn-9.1-linux-x64-v7.1.tgz ls -la ls -la cuda/ sudo rsync -av cuda/include/ /usr/local/cuda/include/ sudo rsync -av cuda/lib64/ /usr/local/cuda/lib64/
Next I installed libcupti-dev:
sudo apt install cuda-command-line-tools echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64' >> ~/.bashrc bash