File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -7,20 +7,10 @@ MAGMA_VERSION="2.5.2"
7
7
function do_install() {
8
8
cuda_version=$1
9
9
cuda_version_nodot=${1/ ./ }
10
-
11
- if [[ ${cuda_version_nodot} == 116 ]]; then
12
- MAGMA_VERSION=" 2.6.1"
13
- magma_archive=" magma-cuda${cuda_version_nodot} -${MAGMA_VERSION} -0.tar.bz2"
14
- elif [[ ${cuda_version_nodot} == 117 ]]; then
15
- MAGMA_VERSION=" 2.6.1"
16
- magma_archive=" magma-cuda${cuda_version_nodot} -${MAGMA_VERSION} -0.tar.bz2"
17
- elif [[ ${cuda_version_nodot} == 118 ]]; then
18
- MAGMA_VERSION=" 2.6.1"
19
- magma_archive=" magma-cuda${cuda_version_nodot} -${MAGMA_VERSION} -1.tar.bz2"
20
- else
21
- magma_archive=" magma-cuda${cuda_version_nodot} -${MAGMA_VERSION} -1.tar.bz2"
22
- fi
23
-
10
+
11
+ MAGMA_VERSION=" 2.6.1"
12
+ magma_archive=" magma-cuda${cuda_version_nodot} -${MAGMA_VERSION} -1.tar.bz2"
13
+
24
14
cuda_dir=" /usr/local/cuda-${cuda_version} "
25
15
(
26
16
set -x
You can’t perform that action at this time.
0 commit comments