标签:export get oca cal 不能 library 配置 x64 压缩
1、下载cuDNN
2、安装cuDNN
$ tar -xzvf cudnn-9.0-linux-x64-v7.tgz
$ sudo cp cuda/include/cudnn.h /usr/local/cuda/include $ sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64 $ sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*
3、路径配置(路径配置非常重要,这个决定了cudnn是否可以正确运行)
vi .bashrc
export PATH=/usr/local/cuda/bin${PATH:+:${PATH}} export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} export CUDA_HOME=/usr/local/cuda
source ~/.bashrc
标签:export get oca cal 不能 library 配置 x64 压缩
原文地址:https://www.cnblogs.com/jaww/p/9845923.html