pub unsafe extern "C" fn cusparseCreateBlockedEll(
spMatDescr: *mut cusparseSpMatDescr_t,
rows: i64,
cols: i64,
ellBlockSize: i64,
ellCols: i64,
ellColInd: *mut c_void,
ellValue: *mut c_void,
ellIdxType: cusparseIndexType_t,
idxBase: cusparseIndexBase_t,
valueType: cudaDataType,
) -> cusparseStatus_tExpand description
This function initializes the sparse matrix descriptor spMatDescr for the Blocked-Ellpack (ELL) format.
Blocked-ELL Column indices (ellColInd) are in the range [0, cols / ellBlockSize -1]. The array can contain -1 values for indicating empty blocks.
ยง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 (ellValuecolumns).ellColInd: Blocked-ELL Column indices. Array with[ellCols / ellBlockSize][rows / ellBlockSize]elements.ellValue: Values of the sparse matrix. Array withrows * ellColselements.ellIdxType: Data type ofellColInd.idxBase: Index base ofellColInd.valueType: Data type ofellValue.