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
00566354
Commit
00566354
authored
Oct 20, 2018
by
Shagun Sodhani
Browse files
updated setup.py to use -lcusparse flag
parent
33e81aa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
setup.py
setup.py
+1
-1
No files found.
setup.py
View file @
00566354
...
...
@@ -15,7 +15,7 @@ if torch.cuda.is_available():
ext_modules
+=
[
CUDAExtension
(
'spspmm_cuda'
,
[
'cuda/spspmm.cpp'
,
'cuda/spspmm_kernel.cu'
],
extra_link_args
=
[
'-l'
,
'cusparse'
]
extra_link_args
=
[
'-lcusparse'
,
'-l'
,
'cusparse'
]
,
)
]
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