Commit 8f8398e5 authored by rusty1s's avatar rusty1s
Browse files

linting

parent 85c6c492
......@@ -13,7 +13,7 @@
--------------------------------------------------------------------------------
[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)).
[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)).
In the meantime, this package consists of a small extension library of optimized sparse matrix operations with autograd support.
This package currently consists of the following methods:
......
......@@ -13,10 +13,11 @@ cmdclass = {}
if torch.cuda.is_available():
ext_modules += [
CUDAExtension('spspmm_cuda',
['cuda/spspmm.cpp', 'cuda/spspmm_kernel.cu'],
extra_link_args=['-lcusparse', '-l', 'cusparse'],
)
CUDAExtension(
'spspmm_cuda',
['cuda/spspmm.cpp', 'cuda/spspmm_kernel.cu'],
extra_link_args=['-lcusparse', '-l', 'cusparse'],
)
]
cmdclass['build_ext'] = BuildExtension
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment