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.