Skip to main content

cusparseBlockedEllGet

Function cusparseBlockedEllGet 

Source
pub unsafe extern "C" fn cusparseBlockedEllGet(
    spMatDescr: cusparseSpMatDescr_t,
    rows: *mut i64,
    cols: *mut i64,
    ellBlockSize: *mut i64,
    ellCols: *mut i64,
    ellColInd: *mut *mut c_void,
    ellValue: *mut *mut c_void,
    ellIdxType: *mut cusparseIndexType_t,
    idxBase: *mut cusparseIndexBase_t,
    valueType: *mut cudaDataType,
) -> cusparseStatus_t
Expand description

This function returns the fields of the sparse matrix descriptor spMatDescr stored in Blocked-Ellpack (ELL) format.

ยงParameters

  • spMatDescr: Sparse matrix descriptor.
  • rows: Number of rows of the sparse matrix.
  • cols: Number of columns of the sparse matrix.
  • ellBlockSize: Size of the ELL-Block.
  • ellCols: Actual number of columns of the Blocked-Ellpack format.
  • ellColInd: Column indices for the ELL-Block. Array with [cols / ellBlockSize][rows / ellBlockSize] elements.
  • ellValue: Values of the sparse matrix. Array with rows * ellCols elements.
  • ellIdxType: Data type of ellColInd.
  • idxBase: Index base of ellColInd.
  • valueType: Datatype of ellValue.