zoukankan      html  css  js  c++  java
  • cudnn 安装

    ubuntu

    下载地址

    https://developer.nvidia.com/rdp/cudnn-download

    安装教程

    http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#axzz4qYJp45J2

    1. Navigate to your<cudnnpath>directory containing cuDNN Debian file.
    2. Install the runtime library, for example:
      sudo dpkg -i libcudnn7_7.0.3.11-1+cuda9.0_amd64.deb
    3. Install the developer library, for example:
      sudo dpkg -i libcudnn7-dev_7.0.3.11-1+cuda9.0_amd64.deb
    4. Install the code samples and the cuDNN Library User Guide, for example:
      sudo dpkg -i libcudnn7-doc_7.0.3.11-1+cuda9.0_amd64.deb

    To verify that cuDNN is installed and is running properly, compile the mnistCUDNN sample located in the/usr/src/cudnn_samples_v7directory in the debian file.

    1. Copy the cuDNN sample to a writable path.
      $cp -r /usr/src/cudnn_samples_v7/ $HOME
    2. Go to the writable path.
      $ cd  $HOME/cudnn_samples_v7/mnistCUDNN
    3. Compile the mnistCUDNN sample.
      $make clean && make
    4. Run the mnistCUDNN sample.
      $ ./mnistCUDNN
      If cuDNN is properly installed and running on your Linux system, you will see a message similar to the following:
      Test passed!
  • 相关阅读:
    spring,hibernate,spring框架整合
    python3安装pwntools
    分享一批大佬博客及学习网站
    jarvisoj--FindKeyWP
    pwntools的安装
    LibcSearcher 安装
    xctf pwn(新手练习)level3
    ret2libc3两种利用方法
    pwn函数调用
    Python知识点
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/8760412.html
Copyright © 2011-2022 走看看