Commit afccb12e authored by rusty1s's avatar rusty1s
Browse files

adding cusparse as compile arg

parent 5836042b
...@@ -13,8 +13,11 @@ cmdclass = {} ...@@ -13,8 +13,11 @@ cmdclass = {}
if torch.cuda.is_available(): if torch.cuda.is_available():
ext_modules += [ ext_modules += [
CUDAExtension('spspmm_cuda', CUDAExtension(
['cuda/spspmm.cpp', 'cuda/spspmm_kernel.cu']) 'spspmm_cuda', ['cuda/spspmm.cpp', 'cuda/spspmm_kernel.cu'],
extra_compile_args={
'nvcc': ['-lcusparse']
})
] ]
cmdclass['build_ext'] = BuildExtension 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