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
38c8b3ac
Commit
38c8b3ac
authored
Aug 06, 2018
by
rusty1s
Browse files
cuda kernel
parent
a2f18da3
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
torch_scatter/utils/ffi.py
torch_scatter/utils/ffi.py
+0
-8
No files found.
torch_scatter/utils/ffi.py
deleted
100644 → 0
View file @
a2f18da3
from
.._ext
import
ffi
def
get_func
(
name
,
tensor
):
name
+=
'_'
name
+=
'cuda_'
if
tensor
.
is_cuda
else
''
name
+=
tensor
.
type
().
split
(
'.'
)[
-
1
][:
-
6
]
return
getattr
(
ffi
,
name
)
Prev
1
2
Next
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