Skip to main content

simd_reduce

Function simd_reduce 

Source
pub fn simd_reduce<T, F>(values: &[T], init: T, op: F) -> T
where T: Copy, F: Fn(T, T) -> T,
Expand description

Parallel reduction with custom binary operation.