"CUSPARSE_SPMM_ALG_DEFAULT" is undefined
when I tried to install MinkowskiEngine, it reported:
/tmp/pip-install-3qk31mrn/MinkowskiEngine/src/broadcast_kernel.cu(257): error: identifier "CUSPARSE_SPMM_ALG_DEFAULT" is undefined
with torch==1.9.0 and cuda==11.1
Hi, I also encountered this problem. Have you solved this successfully?
I searched 'CUSPARSE_SPMM_ALG_DEFAULT' globally in the project directory, and found no results. This might indicate that 'CUSPARSE_SPMM_ALG_DEFAULT' is defined in cuda library. I asked AI and it said 'CUSPARSE_SPMM_ALG_DEFAULT' is defined in cuda/include/cusparse.h. Then I searched cuda/include/cusparse.h but couldn't find the definition of 'CUSPARSE_SPMM_ALG_DEFAULT'. It seems that the probolem lies in the version of cuda????
My environment:
- OS: Ubuntu 18.04.5 LTS
- cuda: 11.0
- cudatoolkit: 11.0