Skip to content

Instantly share code, notes, and snippets.

@planetceres
Created January 16, 2019 17:53
Show Gist options
  • Select an option

  • Save planetceres/c751b4e65833366593de68a994855e66 to your computer and use it in GitHub Desktop.

Select an option

Save planetceres/c751b4e65833366593de68a994855e66 to your computer and use it in GitHub Desktop.
CUDA Deactivate Script
#!/bin/sh
export PATH=$ORIGINAL_PATH
unset ORIGINAL_PATH
export LD_LIBRARY_PATH=$ORIGINAL_LD_LIBRARY_PATH
unset ORIGINAL_LD_LIBRARY_PATH
@planetceres
Copy link
Copy Markdown
Author

chmod +x ~/ .cudadeactivate

Activate: source ~/ .cudaactivate_9.0
Deactivate: source ~/ .cudadeactivate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment