CUDNN installation Detailed steps

Source: Internet
Author: User

CUDNN Installation Note:
CUDNN installation is actually very simple, the key point is to be sure to install cuda corresponding to the CUDNN package, this machine installed cuda7.5 so the corresponding CUDNN for v5.1 This is very important, I am installing the wrong version, resulting in the compilation of Caffe is always wrong.
CUDNN Installation steps:
1. Download the CUDNN installation package from the official website.
2, the installation package decompression, the installation package will be placed in the home path, and under the current path to extract, extracted folder named Cuda.
3. Edit the following code on the terminal:

$ cd cuda/include 
$ sudo cp *.h/usr/local/cuda/include/  (note here is your own Cuda installation address, copy *.h file) 

4. Close the terminal and reopen it (you can also return to the first directory)

$ cd cuda/lib64 
$ sudo cp libcudnn*/usr/local/cuda/lib64/ 

5. Terminal operation:

$ sudo chmod a+r/usr/local/cuda/include/cudnn.h/usr/local/cuda/lib64/libcudnn* 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.