Skip to main content

scsrlsvchol

Function scsrlsvchol 

Source
pub unsafe fn scsrlsvchol(
    handle: &SpHandle,
    m: i32,
    nnz: i32,
    descr_a: *mut c_void,
    csr_val: *const f32,
    csr_row_ptr: *const c_int,
    csr_col_ind: *const c_int,
    b: *const f32,
    tol: f32,
    reorder: i32,
    x: *mut f32,
    singularity: *mut c_int,
) -> Result<()>
Expand description

Sparse Cholesky solve: A * x = b for SPD A.

ยงSafety

descr_a, CSR arrays, b and x must live on-device (b + x on-device, CSR arrays + descriptor on-device) and satisfy cuSOLVER sparse format requirements.