Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
ca9e656a
Commit
ca9e656a
authored
Feb 13, 2020
by
rusty1s
Browse files
fix url
parent
20c10a54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
script/cuda.sh
script/cuda.sh
+11
-9
No files found.
script/cuda.sh
View file @
ca9e656a
...
...
@@ -35,19 +35,24 @@ fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cu92"
]
;
then
export
CUDA_SHORT
=
9.2
export
CUDA
=
9.2.148
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod2/local_installers2
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.148_win10
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cu100"
]
;
then
export
CUDA_SHORT
=
10.0
export
CUDA
=
10.0.130_411.31
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.130_411.31_win10
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
$IDX
"
=
"cu101"
]
;
then
export
CUDA_SHORT
=
10.1
export
CUDA
=
10.1.105_418.96
export
CUDA_URL
=
https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod/local_installers
export
CUDA_FILE
=
cuda_
${
CUDA_SHORT
}
.105_418.96_win10.exe
export
TOOLKIT
=
"cudatoolkit=
${
CUDA_SHORT
}
"
fi
...
...
@@ -77,12 +82,9 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" != "cpu" ]; then
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
!=
"cpu"
]
;
then
wget
-nv
"https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod2/local_installers2/cuda_
${
CUDA
}
_win10"
PowerShell
-Command
"Start-Process -FilePath
\"
cuda_
${
CUDA
}
_win10
\"
-ArgumentList
\"
-s nvcc_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
ls
/c/Program
\
Files
ls
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit
ls
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA
ls
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v
${
CUDA_SHORT
}
wget
-nv
"
${
CUDA_URL
}
/
${
CUDA_FILE
}
"
PowerShell
-Command
"Start-Process -FilePath
\"
${
CUDA_FILE
}
\"
-ArgumentList
\"
-s nvcc_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
ls
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017
CUDA_HOME
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v
${
CUDA_SHORT
}
PATH
=
${
CUDA_HOME
}
/bin:
$PATH
PATH
=
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/MSBuild/15.0/Bin:
$PATH
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment