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-sparse
Commits
de6a9fd7
Commit
de6a9fd7
authored
Nov 04, 2018
by
rusty1s
Browse files
fixed unique install
parent
8f8398e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
setup.py
setup.py
+3
-1
No files found.
setup.py
View file @
de6a9fd7
...
@@ -17,7 +17,9 @@ if torch.cuda.is_available():
...
@@ -17,7 +17,9 @@ if torch.cuda.is_available():
'spspmm_cuda'
,
'spspmm_cuda'
,
[
'cuda/spspmm.cpp'
,
'cuda/spspmm_kernel.cu'
],
[
'cuda/spspmm.cpp'
,
'cuda/spspmm_kernel.cu'
],
extra_link_args
=
[
'-lcusparse'
,
'-l'
,
'cusparse'
],
extra_link_args
=
[
'-lcusparse'
,
'-l'
,
'cusparse'
],
)
),
CUDAExtension
(
'unique_cuda'
,
[
'cuda/unique.cpp'
,
'cuda/unique_kernel.cu'
]),
]
]
cmdclass
[
'build_ext'
]
=
BuildExtension
cmdclass
[
'build_ext'
]
=
BuildExtension
...
...
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