Skip to content

Instantly share code, notes, and snippets.

@jetsonhacks
Last active April 10, 2016 07:44
Show Gist options
  • Save jetsonhacks/0dab5c31db408bdb7002 to your computer and use it in GitHub Desktop.
Save jetsonhacks/0dab5c31db408bdb7002 to your computer and use it in GitHub Desktop.

Revisions

  1. jetsonhacks revised this gist May 16, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions installcuDNNV2.sh
    Original file line number Diff line number Diff line change
    @@ -11,8 +11,8 @@ if [ $(id -u) != 0 ]; then
    exit
    fi
    # unzip the archive
    tar -zxvf cudnn-6.5-linux-ARMv7-V2.tgz
    cd cudnn-6.5-linux-ARMv7-V2
    tar -zxvf cudnn-6.5-linux-ARMv7-v2.tgz
    cd cudnn-6.5-linux-ARMv7-v2
    # copy the include file
    cp cudnn.h /usr/local/cuda-6.5/include
    cp libcudnn* /usr/local/cuda-6.5/lib
  2. jetsonhacks created this gist May 15, 2015.
    18 changes: 18 additions & 0 deletions installcuDNNV2.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    #!/bin/sh
    # Install cuDNN V2 on NVIDIA Jetson TK1
    # Register as a NVIDIA developer and download the cuDNN package
    # Package is named cudnn-6.5-linux-ARMv7-V2.tgz
    # This script and the cuDNN package should be in the same directory, usually ~/Downloads
    # This script places the library and include files for cudnn in the CUDA 6.5 directories
    # Make sure this is executing as root
    if [ $(id -u) != 0 ]; then
    echo "This script requires root permissions"
    echo "$ sudo "$0""
    exit
    fi
    # unzip the archive
    tar -zxvf cudnn-6.5-linux-ARMv7-V2.tgz
    cd cudnn-6.5-linux-ARMv7-V2
    # copy the include file
    cp cudnn.h /usr/local/cuda-6.5/include
    cp libcudnn* /usr/local/cuda-6.5/lib