ROCm / hipSPARSE

ROCm SPARSE marshalling library
https://rocm.docs.amd.com/projects/hipSPARSE/en/latest/
MIT License
66 stars 41 forks source link

Use same buffer for all calls to rocsparse SpGEMM routines #454

Closed jsandham closed 6 months ago

jsandham commented 6 months ago

Use same buffer for all calls to rocsparse SpGEMM routines. This is important if data is written to the buffer in the nnz stage that needs to be used in the compute stage. Therefore we must use the same buffer. Additionally, this reduces the size of buffer2 and means we only call rocsparse_spgemm_stage_buffer_size once instead of twice.