CUDNN_STATUS_NOT_INITIALIZED

./mnistCUDNN
cudnnGetVersion() : 7600 , CUDNN_VERSION from cudnn.h : 7600 (7.6.0)
Host compiler version : GCC 7.4.0
There are 1 CUDA capable devices on your machine :
device 0 : sms 19 Capabilities 6.1, SmClock 1683.0 Mhz, MemSize (Mb) 8118, MemClock 4004.0 Mhz, Ecc=0, boardGroupID=0
Using device 0

Testing single precision
CUDNN failure
Error: CUDNN_STATUS_NOT_INITIALIZED
mnistCUDNN.cpp:394
Aborting…

CUDA:10.0
Cudnn: 7.6
Driver:410
OS: ubuntu 18.04 LTS
i did try sudo rm -rf ~/.nv/
still geting the same error