1.下载
2.解压
gzip -d cudnn-8.0-linux-x64-v5.1.tgz
tar xf cudnn-8.0-linux-x64-v5.1.tar
3.复制
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
sudo cp -a cuda/lib64/libcudnn* /usr/local/cuda/lib64
原文链接:https://www.f2er.com/ubuntu/352562.htmlgzip -d cudnn-8.0-linux-x64-v5.1.tgz
tar xf cudnn-8.0-linux-x64-v5.1.tar
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
sudo cp -a cuda/lib64/libcudnn* /usr/local/cuda/lib64
原文链接:https://www.f2er.com/ubuntu/352562.html