官术网_书友最值得收藏!

Installing cudnn

  1. Download cudnn from the NVIDIA site (https://developer.nvidia.com/rdp/assets/cudnn-8.0-linux-x64-v5.0-ga-tgz) and decompress the binary:
Please note, you will need an NVIDIA developer account.
tar xvf cudnn-8.0-linux-x64-v5.1.tgz

We obtain the following output after decompressing the .tgz file:

cuda/include/cudnn.h
cuda/lib64/libcudnn.so
cuda/lib64/libcudnn.so.5
cuda/lib64/libcudnn.so.5.1.10
cuda/lib64/libcudnn_static.a
  1. Copy these files to the /usr/local folder, as follows:
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*
主站蜘蛛池模板: 铁岭县| 华坪县| 扎囊县| 穆棱市| 甘洛县| 湟源县| 永济市| 微山县| 邵阳市| 确山县| 博乐市| 资源县| 澜沧| 松溪县| 青阳县| 张家界市| 报价| 安溪县| 灵武市| 南木林县| 晋中市| 宣化县| 佛教| 临武县| 六安市| 鹤岗市| 昌都县| 沙洋县| 南城县| 阿克苏市| 湖州市| 晋中市| 平乐县| 将乐县| 台东县| 永城市| 河间市| 通江县| 林周县| 肃南| 巴林左旗|