Expand description
Utilities for working with SIMD operations
Functionsยง
- align_
down - Round down to the nearest multiple of alignment
- align_
up - Round up to the nearest multiple of alignment
- aligned_
vec_ f32 - Allocate a SIMD-aligned
Vec<f32> - aligned_
vec_ f64 - Allocate a SIMD-aligned
Vec<f64> - chunks
- Calculate the number of SIMD chunks for a given length and lane width
- is_
aligned - Check if a pointer is aligned to the given boundary
- process_
chunks - Process a slice in SIMD-width chunks, calling a function on each chunk and handling the scalar remainder.
- remainder
- Calculate the remainder after SIMD chunks