Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created August 12, 2019 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BetterProgramming/b5145a2ca84ba1ba8ed32e2372ec6fdd to your computer and use it in GitHub Desktop.
Save BetterProgramming/b5145a2ca84ba1ba8ed32e2372ec6fdd to your computer and use it in GitHub Desktop.
$ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
$ export CUDA_HOME=/usr/local/cuda
$ export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
$ export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
$ source ~/.bashrc
$ sudo ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment