Created
September 9, 2021 03:11
-
-
Save WesleyCh3n/9200abbef7b680a13acf2cd627000a8c to your computer and use it in GitHub Desktop.
CUDA env variable in bashrc
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 PATH=/usr/local/cuda-11.2/bin${PATH:+:${PATH}} | |
export LD_LIBRARY_PATH=/usr/local/cuda-11.2/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} | |
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda/targets/x86_64-linux/lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment