diff --git a/cuSPARSE/spgemm/spgemm_example.c b/cuSPARSE/spgemm/spgemm_example.c index e4219afd..da913338 100644 --- a/cuSPARSE/spgemm/spgemm_example.c +++ b/cuSPARSE/spgemm/spgemm_example.c @@ -152,7 +152,7 @@ int main(void) { CUSPARSE_INDEX_32I, CUSPARSE_INDEX_32I, CUSPARSE_INDEX_BASE_ZERO, CUDA_R_32F) ) CHECK_CUSPARSE( cusparseCreateCsr(&matC, A_num_rows, B_num_cols, 0, - NULL, NULL, NULL, + dC_csrOffsets, NULL, NULL, CUSPARSE_INDEX_32I, CUSPARSE_INDEX_32I, CUSPARSE_INDEX_BASE_ZERO, CUDA_R_32F) ) //--------------------------------------------------------------------------