Skip to main content

optimize

Function optimize 

Source
pub fn optimize<T: Scalar>(mat: &mut SparseMatrix<T>) -> Result<()>
Expand description

Run AOCL-Sparse’s analysis / optimization step on a matrix handle. Use this after declaring hints (e.g. set_mv_hint) to let the library choose specialised kernels for repeated operations.