I have fixed undefined behavior in simd_for_each that happened if length of the slice was smaller than simd vector width, and I have also improved test for it. Added more debug_asserts, this would actually point out the bug when running tests. And added some cleanups.
I have fixed undefined behavior in
simd_for_each
that happened if length of the slice was smaller than simd vector width, and I have also improved test for it. Added more debug_asserts, this would actually point out the bug when running tests. And added some cleanups.