Skip to main content

cusparseZgemvi

Function cusparseZgemvi 

Source
pub unsafe extern "C" fn cusparseZgemvi(
    handle: cusparseHandle_t,
    transA: cusparseOperation_t,
    m: c_int,
    n: c_int,
    alpha: *const cuDoubleComplex,
    A: *const cuDoubleComplex,
    lda: c_int,
    nnz: c_int,
    xVal: *const cuDoubleComplex,
    xInd: *const c_int,
    beta: *const cuDoubleComplex,
    y: *mut cuDoubleComplex,
    idxBase: cusparseIndexBase_t,
    pBuffer: *mut c_void,
) -> cusparseStatus_t
Expand description

This function performs the matrix-vector operation

A is an $m \times n$ dense matrix and a sparse vector x that is defined in a sparse storage format by the two arrays xVal, xInd of length nnz, and y is a dense vector; $\alpha \;$ and $\beta \;$ are scalars; and

image2

  • The routine supports asynchronous execution
  • The routine supports CUDA graph capture

The function cusparseZgemvi_bufferSize returns the size of buffer used in cusparseZgemvi.