Skip to content

Commit 8f8398e

Browse files
committed
linting
1 parent 85c6c49 commit 8f8398e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
--------------------------------------------------------------------------------
1515

16-
[PyTorch](http://pytorch.org/) (<= 0.4.1) completely lacks autograd support and operations such as sparse sparse matrix multiplication, but is heavily working on improvement (*cf.* [this issue](https://github.com/pytorch/pytorch/issues/9674)).
16+
[PyTorch](http://pytorch.org/) completely lacks autograd support and operations such as sparse sparse matrix multiplication, but is heavily working on improvement (*cf.* [this issue](https://github.com/pytorch/pytorch/issues/9674)).
1717
In the meantime, this package consists of a small extension library of optimized sparse matrix operations with autograd support.
1818
This package currently consists of the following methods:
1919

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313

1414
if torch.cuda.is_available():
1515
ext_modules += [
16-
CUDAExtension('spspmm_cuda',
17-
['cuda/spspmm.cpp', 'cuda/spspmm_kernel.cu'],
18-
extra_link_args=['-lcusparse', '-l', 'cusparse'],
19-
)
16+
CUDAExtension(
17+
'spspmm_cuda',
18+
['cuda/spspmm.cpp', 'cuda/spspmm_kernel.cu'],
19+
extra_link_args=['-lcusparse', '-l', 'cusparse'],
20+
)
2021
]
2122
cmdclass['build_ext'] = BuildExtension
2223

0 commit comments

Comments
 (0)