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
e87a2251
Commit
e87a2251
authored
May 26, 2018
by
rusty1s
Browse files
rename cuda files
parent
452097ba
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
build.py
build.py
+2
-2
setup.py
setup.py
+1
-1
torch_scatter/__init__.py
torch_scatter/__init__.py
+1
-1
torch_scatter/src/gpu.c
torch_scatter/src/gpu.c
+0
-0
torch_scatter/src/gpu.h
torch_scatter/src/gpu.h
+0
-0
No files found.
build.py
View file @
e87a2251
...
...
@@ -15,8 +15,8 @@ with_cuda = False
if
torch
.
cuda
.
is_available
():
subprocess
.
call
([
'./build.sh'
,
osp
.
dirname
(
torch
.
__file__
)])
headers
+=
[
'torch_scatter/src/
cuda
.h'
]
sources
+=
[
'torch_scatter/src/
cuda
.c'
]
headers
+=
[
'torch_scatter/src/
gpu
.h'
]
sources
+=
[
'torch_scatter/src/
gpu
.c'
]
include_dirs
+=
[
'torch_scatter/kernel'
]
define_macros
+=
[(
'WITH_CUDA'
,
None
)]
extra_objects
+=
[
'torch_scatter/build/kernel.so'
]
...
...
setup.py
View file @
e87a2251
...
...
@@ -2,7 +2,7 @@ from os import path as osp
from
setuptools
import
setup
,
find_packages
__version__
=
'1.0.
2
'
__version__
=
'1.0.
3
'
url
=
'https://github.com/rusty1s/pytorch_scatter'
install_requires
=
[
'cffi'
]
...
...
torch_scatter/__init__.py
View file @
e87a2251
...
...
@@ -6,7 +6,7 @@ from .mean import scatter_mean
from
.max
import
scatter_max
from
.min
import
scatter_min
__version__
=
'1.0.
2
'
__version__
=
'1.0.
3
'
__all__
=
[
'scatter_add'
,
'scatter_sub'
,
'scatter_mul'
,
'scatter_div'
,
'scatter_mean'
,
...
...
torch_scatter/src/
cuda
.c
→
torch_scatter/src/
gpu
.c
View file @
e87a2251
File moved
torch_scatter/src/
cuda
.h
→
torch_scatter/src/
gpu
.h
View file @
e87a2251
File moved
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