I’ve setup cuda with command “sudo apt install nvidia-cuda-toolkit”, I’m running on Ubuntu 20.04 and GPU GEforce GTX 1060. Actually I’ve setup this for darknet yolo that required cudnn and opencv setup for GPU compilation. I can clearly see now the cuda went to /usr/lib/cuda folder instead of /usr/local/cuda and all folders under /lib/cuda are more less empty like lib64 and include. But nvcc command is working fine and seems cuda installation succeed but when I tried built darknet it complains with cudnn library, So can any one help me please to setup cudnn with this setup? I tried moved all the include and lib64 libraries from cudnn folder to /usr/lib/cuda/lib64 and /include respectively but it didn’t help.
Thanks in advance