cuDNN 7.1, how to verify installation correctness

Hi there,

I download the runtime debian package from cuDNN 7.1 web page.
And install it by doing:

sudo dpkg -i libcudnn7_7.1.1.5-1+cuda9.1_amd64.deb

Now I want to verify the installation, but it seems like the installation guide still does not update their documents, it seems like the verifying method is only for 7.0, because I do not see there is a /usr/src/cudnn_samples_v7 after installation.

My computer:
Ubuntu 16.04
Nvidia 390.25
CUDA9.1
Download runtime debian cuDNN 7.1(the most recently update version)

Best,bear

Reference:
https://stackoverflow.com/questions/31326015/how-to-verify-cudnn-installation

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!

Source: http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#verify

Thank you, but actually I saw these instructions after I install the cuDNN7.1.

Rather, my question is different. Sorry for the misunderstanding.

Since I follow the instructions to install but can not find /usr/src/cudnn_samples_v7, thus I ask here what is the method to verify correctness. The installation is super easy with just single command dpkg, I can not image where I did wrong. I prefer to believe I did correctly but the updates have problem.

In my opinion you did not install samples.

sudo dpkg -i libcudnn7-doc_7.0.3.11-1+cuda9.0_amd64.deb
sudo dpkg -i libcudnn7-dev_7.0.3.11-1+cuda9.0_amd64.deb

then try samples again

Solved

If you have trouble when make the sample, have a look at here.

you may remove cuda/nvidia driver and try steps again

Mixed dnn version. The header is version 7301 while the library is version 7104.
can any one help ,me understand what is this header version 7301 mean and how do i solve this
thanks in advance