pub fn sum<T: SimdOps>(data: &[T]) -> T
Computes the sum of elements in the slice using runtime-dispatched SIMD.