Skip to main content

cusparseCsrSetStridedBatch

Function cusparseCsrSetStridedBatch 

Source
pub unsafe extern "C" fn cusparseCsrSetStridedBatch(
    spMatDescr: cusparseSpMatDescr_t,
    batchCount: c_int,
    offsetsBatchStride: i64,
    columnsValuesBatchStride: i64,
) -> cusparseStatus_t
Expand description

This function sets the batchCount and the batchStride fields of the sparse matrix descriptor spMatDescr.

ยงParameters

  • spMatDescr: Sparse matrix descriptor.
  • batchCount: Number of batches of the sparse matrix.
  • offsetsBatchStride: Address offset between consecutive batches for the row offset array.
  • columnsValuesBatchStride: Address offset between consecutive batches for the column and value arrays.