mojo
mojo copied to clipboard
[simd] Simplify `SIMD.reduce_op` functions
- Simplify the signature of
reduce
since it's doesn't have to be generic overtype
- Introduced a
reduce
overload for non-capturing functions - Simplify
SIMD.reduce_op
functions usingSIMD.op
methods directly