Open alecmocatta opened 6 years ago
vec![0u8; 100000].iter().map(|&x| { x as u64 * x as u64 }).sum::<u64>();
is essentially what I'd like to use this crate to SIMD-accelerate.
The issue I'm bumping into is reading the slice as u8x8 such that I can then use <u64x8 as From<u8x8>>::from to cast it.
u8x8
<u64x8 as From<u8x8>>::from
What is the best way to do this currently?
Related to #8, #32 and #46.
is essentially what I'd like to use this crate to SIMD-accelerate.
The issue I'm bumping into is reading the slice as
u8x8
such that I can then use<u64x8 as From<u8x8>>::from
to cast it.What is the best way to do this currently?
Related to #8, #32 and #46.