Skip to content

Instantly share code, notes, and snippets.

@TheDevMinerTV
Last active January 25, 2024 13:04
Show Gist options
  • Save TheDevMinerTV/434867038d8ead1b1f0989e3210c33f6 to your computer and use it in GitHub Desktop.
Save TheDevMinerTV/434867038d8ead1b1f0989e3210c33f6 to your computer and use it in GitHub Desktop.
cuda-sucks
export CUDA_HOME=$(dirname ${BASH_SOURCE[0]})
export PATH=${CUDA_HOME}/bin:${PATH}
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
export CPATH=/usr/local/cuda-12.2/targets/x86_64-linux/include:$CPATH
export CUDA_TOOLKIT_ROOT=${CUDA_HOME}
export CUDAToolkit_ROOT=${CUDA_HOME}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment