Skip to main content

cusparseSpMatGetSize

Function cusparseSpMatGetSize 

Source
pub unsafe extern "C" fn cusparseSpMatGetSize(
    spMatDescr: cusparseConstSpMatDescr_t,
    rows: *mut i64,
    cols: *mut i64,
    nnz: *mut i64,
) -> cusparseStatus_t
Expand description

This function returns the sizes of the sparse matrix spMatDescr.

ยงParameters

  • spMatDescr: Sparse matrix descriptor.
  • rows: Number of rows of the sparse matrix.
  • cols: Number of columns of the sparse matrix.
  • nnz: Number of non-zero entries of the sparse matrix.