Skip to main content

cusparseDgtsv2_nopivot_bufferSizeExt

Function cusparseDgtsv2_nopivot_bufferSizeExt 

Source
pub unsafe extern "C" fn cusparseDgtsv2_nopivot_bufferSizeExt(
    handle: cusparseHandle_t,
    m: c_int,
    n: c_int,
    dl: *const f64,
    d: *const f64,
    du: *const f64,
    B: *const f64,
    ldb: c_int,
    bufferSizeInBytes: *mut size_t,
) -> cusparseStatus_t
Expand description

This function returns the size of the buffer used in gtsv2_nopivot which computes the solution of a tridiagonal linear system with multiple right-hand sides.

The coefficient matrix A of each of these tri-diagonal linear system is defined with three vectors corresponding to its lower (dl), main (d), and upper (du) matrix diagonals; the right-hand sides are stored in the dense matrix B. Notice that solution X overwrites right-hand-side matrix B on exit.

  • The routine requires no extra storage.
  • The routine supports asynchronous execution.
  • The routine supports CUDA graph capture.