Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to install cuDNN

📅 2017-May-19 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

cuDNN provides primitives for deep learning networks that have been accelerated for GPUs by NVIDIA.

$ sudo cp cuda/include/cudnn.h /usr/local/cuda-X.Y/include
$ sudo cp cuda/lib64/libcudnn* /usr/local/cuda-X.Y/lib64
$ sudo chmod a+r /usr/local/cuda-X.Y/include/cudnn.h
$ sudo chmod a+r /usr/local/cuda-X.Y/lib64/libcudnn*

Replace cuda-X.Y with the specific CUDA version directory on your system.

That is it! Caffe and other projects needing cuDNN should be able to find and link with cuDNN now.

Tried with: cuDNN 6.0 and Ubuntu 16.04