Created
February 25, 2021 08:18
-
-
Save jeasinema/3ee0b45e12c40f1878335336c0bb68d8 to your computer and use it in GitHub Desktop.
CUDA utils
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CUDA_HOME=$HOME/tools/cuda-9.0 # change to your path | |
export CUDA_TOOLKIT_ROOT_DIR=$CUDA_HOME | |
export LD_LIBRARY_PATH="$CUDA_HOME/extras/CUPTI/lib64:$LD_LIBRARY_PATH" | |
export LIBRARY_PATH=$CUDA_HOME/lib64:$LIBRARY_PATH | |
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH | |
export CFLAGS="-I$CUDA_HOME/include $CFLAGS" | |
export PATH="$CUDA_HOME/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment