MinkowskiEngine icon indicating copy to clipboard operation
MinkowskiEngine copied to clipboard

"CUSPARSE_SPMM_ALG_DEFAULT" is undefined

Open Provemj opened this issue 1 year ago • 1 comments

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

Provemj avatar May 04 '24 05:05 Provemj

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

MushroomLyn avatar Apr 02 '25 06:04 MushroomLyn