Skip to main content

should_parallelize

Function should_parallelize 

Source
pub fn should_parallelize(n_rows: usize, n_cols: usize) -> bool
Expand description

Prefer serial when fork-join overhead exceeds the matvec work. ~256k element-ops matches the previous prefer_serial_matvec gate.