Skip to main content

potrf_query_lwork

Function potrf_query_lwork 

Source
pub fn potrf_query_lwork(
    solver: &DnHandle,
    stream: &Arc<CudaStream>,
    p: usize,
) -> Result<usize, String>
Expand description

Query the cuSOLVER POTRF workspace size for a p×p matrix.

Called once at workspace construction to size the persistent workspace buffer. Returns the number of f64 elements required.