Skip to content

Instantly share code, notes, and snippets.

@fatihbaltaci
Last active April 16, 2019 06:42
Show Gist options
  • Save fatihbaltaci/28d87bf5ff8a830e3fae31368a667361 to your computer and use it in GitHub Desktop.
Save fatihbaltaci/28d87bf5ff8a830e3fae31368a667361 to your computer and use it in GitHub Desktop.
# First install CUDA https://gist.github.com/fatihbaltaci/e9ac5dde14e17c8b59c3ce4e90bcac0a
# Download (cuDNN Library for Linux) from https://developer.nvidia.com/rdp/cudnn-download
tar -xzvf cudnn-9.0-linux-x64-v7.5.0.56.tgz
#Default /usr/local/cuda
CUDA_HOME=<CUDA_PATH>
sudo cp cuda/include/cudnn.h $CUDA_HOME/include
sudo cp cuda/lib64/libcudnn* $CUDA_HOME/lib64
sudo chmod a+r $CUDA_HOME/include/cudnn.h $CUDA_HOME/lib64/libcudnn*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment