pub fn dispatch_chunked_mixed_dot_product<A: Algebra<F> + Dup, F: Dup, const N: usize>(
values: &[A; N],
coeffs: &[F; N],
chunk: usize,
) -> AExpand description
Lower a runtime chunk size into a const-generic call to the fixed-chunk dot product.
Each backend picks its preferred chunk size at runtime; the inner routine needs it as a const for unrolling. This wrapper bridges the gap.
Supported sizes: 1, 2, 4, 8, 16, 32, 64 — powers of two only, so the
inner balanced tree stays balanced.
§Panics
Runtime panic if chunk is outside the supported set.