Specific cuDNN installation

来源:互联网 发布:知乎平均985 编辑:程序博客网 时间:2024/06/07 05:09
  • Sign up a Nvidia account
  • Go to the download pages:
    https://developer.nvidia.com/rdp/cudnn-download

  • Download the specific version of cuDNN. (For example cuDNN 5.1 for CUDA 8.0)

  • Combine with your CUDA-8.0 driver,
tar -zxf cudnn-8.0-linux-x64-v5.1.tgzcd cudasudo cp lib64/* /usr/local/cuda-8.0/lib64/sudo cp include/* /usr/local/cuda-8.0/include/
  • In order to use the environment when login, we can add to ~/.bashrc like,
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}