Commit afccb12e authored by rusty1s's avatar rusty1s
Browse files

adding cusparse as compile arg

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