Removed explicit target version from switch_cuda
Browse files- switch_cuda.sh +1 -1
switch_cuda.sh
CHANGED
@@ -29,7 +29,7 @@ set -e
|
|
29 |
|
30 |
|
31 |
INSTALL_FOLDER="/usr/local" # the location to look for CUDA installations at
|
32 |
-
TARGET_VERSION
|
33 |
|
34 |
# if no version to switch to has been provided, then just print all available CUDA installations
|
35 |
if [[ -z ${TARGET_VERSION} ]]; then
|
|
|
29 |
|
30 |
|
31 |
INSTALL_FOLDER="/usr/local" # the location to look for CUDA installations at
|
32 |
+
TARGET_VERSION=${1} # the target CUDA version to switch to (if provided)
|
33 |
|
34 |
# if no version to switch to has been provided, then just print all available CUDA installations
|
35 |
if [[ -z ${TARGET_VERSION} ]]; then
|