Skip to content

Instantly share code, notes, and snippets.

@kingardor
Created September 26, 2019 08:59
Show Gist options
  • Save kingardor/b182108c984c0d29161eb53fa59b69c0 to your computer and use it in GitHub Desktop.
Save kingardor/b182108c984c0d29161eb53fa59b69c0 to your computer and use it in GitHub Desktop.
# CUDA
export PATH=/usr/local/cuda-10.1/bin${PATH:+:${PATH}}
export CUDA_PATH=/usr/local/cuda-10.1
export CUDA_HOME=/usr/local/cuda-10.1
export LIBRARY_PATH=$CUDA_HOME/lib64:$LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH
export NVCC=/usr/local/cuda-10.1/bin/nvcc
export CFLAGS="-I$CUDA_HOME/include $CFLAGS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment