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.
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.