Skip to content

Instantly share code, notes, and snippets.

@jetsonhacks
Last active March 8, 2017 06:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jetsonhacks/5257f2352d444c2f3240 to your computer and use it in GitHub Desktop.
Save jetsonhacks/5257f2352d444c2f3240 to your computer and use it in GitHub Desktop.
NVIDIA Jetson TK1 - Install cuDNN R2
#!/bin/sh
# Install cuDNN R2 on NVIDIA Jetson TK1
# Register as a NVIDIA developer and download the cuDNN package
# Package is named cudnn-6.5-linux-ARMv7-R2-rc1.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-R2-rc1.tgz
cd cudnn-6.5-linux-ARMv7-R2-rc1
# copy the include file
cp cudnn.h /usr/local/cuda-6.5/include
cp libcudnn* /usr/local/cuda-6.5/lib
@sysuzyq
Copy link

sysuzyq commented Mar 8, 2017

I have installed cudnn7.0 as you said, and it work when i compile, but it break down when i run my program by the error "...(1vs0)CUDNN_STATUS_NOT_INITIALIZED" Do you meet some wrong like that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment