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
b111a8cb
Commit
b111a8cb
authored
Feb 12, 2020
by
rusty1s
Browse files
add nvcc to path
parent
27b934a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
.travis.yml
.travis.yml
+2
-2
script/cuda.sh
script/cuda.sh
+5
-9
No files found.
.travis.yml
View file @
b111a8cb
language
:
shell
language
:
shell
os
:
os
:
#
- linux
-
linux
# - osx
# - osx
-
windows
-
windows
...
@@ -9,7 +9,7 @@ env:
...
@@ -9,7 +9,7 @@ env:
global
:
global
:
-
CUDA_HOME=/usr/local/cuda
-
CUDA_HOME=/usr/local/cuda
jobs
:
jobs
:
#
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cpu
-
TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cpu
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu100
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu100
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu101
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu101
...
...
script/cuda.sh
View file @
b111a8cb
...
@@ -78,15 +78,11 @@ fi
...
@@ -78,15 +78,11 @@ fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
!=
"cpu"
]
;
then
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
&&
[
"
${
IDX
}
"
!=
"cpu"
]
;
then
wget
-nv
"https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod2/local_installers2/cuda_
${
CUDA
}
_win10"
wget
-nv
"https://developer.nvidia.com/compute/cuda/
${
CUDA_SHORT
}
/Prod2/local_installers2/cuda_
${
CUDA
}
_win10"
ls
PowerShell
-Command
"Start-Process -FilePath
\"
cuda_
${
CUDA
}
_win10
\"
-ArgumentList
\"
-s nvcc_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
PowerShell
-Command
"Start-Process -FilePath
\"
cuda_
${
CUDA
}
_win10
\"
-ArgumentList
\"
-s nvcc_
${
CUDA_SHORT
}
\"
-Wait -NoNewWindow"
ls
/c
ls
/c/Program
\
Files
\ \(
x86
\)
# ls /c/Program\ Files\ \(x86\)/NVIDIA\ GPU\ Computing\ Toolkit
# ls /c/Program\ Files\ \(x86\)/NVIDIA\ GPU\ Computing\ Toolkit/CUDA
# ls /c/Program\ Files\ \(x86\)/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v9.2
ls
/c/Program
\
Files
ls
/c/Program
\
Files
# ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit
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
# ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v9.2
ls
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v
${
CUDA_SHORT
}
PATH
=
/c/Program
\
Files/NVIDIA
\
GPU
\
Computing
\
Toolkit/CUDA/v
${
CUDA_SHORT
}
/bin:
$PATH
nvcc
--version
fi
fi
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