I have tried this command
cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2
but it does not show anything.
I am also trying to verify by the way given at Nvidia website but
cp -r /usr/src/cudnn_samples_v7/ $HOME
it says these are the same file.
I am new to ubuntu and also the first time using tensorflow/pytorch GPU. Please guide. Thank you.