cuDNN installation with local rpm under CentOS 7

Hi Guys,
I installed CUDA 10.1 successfully, which can be checked by

[xxx cuda]$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105

Then I download the rpms of cnDNN 7.5 from the website and installed them locally with

rpm -ivh libcudnn7-*.x86_64.rpm
rpm -ivh libcudnn7-devel-*.x86_64.rpm
rpm -ivh libcudnn7-doc-*.x86_64.rpm

However I can’t find cudnn.h under


and file also.
I run the Test of sample_common but got following error:

[xxx mnistCUDNN]$ sudo make clean && make
rm -rf *o
rm -rf mnistCUDNN
Makefile:154: ../ No such file or directory
HOST_ARCH: x86_64
TARGET OS: linux
>>> WARNING - no SM architectures have been specified - waiving sample <<<
make: *** No rule to make target `../'.  Stop.

OS version is CentOS 7.3 x86_64.
I don’t know whether cnDNN has been installed succeesfully, if not, how to solve it?

had the same problem, the installation guide is misleading
try to copy the whole folder with samples

cp -r /usr/src/cudnn_samples_v7/ ./
then run make

I have the same problem. Therefore, I choose an older version, cudnn 7.4.2.
And it works.

Same here. I downloaded the corresponding .deb file (libcudnn7-doc_7.5.1.10-1+cuda10.1_amd64.deb), extracted the and copied this to the ./cudnn_samples_v7 folder.
build and test were then sucessful.