pub enum SimdIsa {
Scalar,
Sse41,
Avx2,
Neon,
}Expand description
An instruction set the SIMD kernels can run on.
Variants§
Scalar
The portable scalar reference implementation.
Sse41
x86_64 SSE4.1 (128-bit, four 32-bit lanes).
Avx2
x86_64 AVX2 (256-bit, eight 32-bit lanes).
Neon
aarch64 NEON (128-bit, four 32-bit lanes).
Implementations§
Trait Implementations§
impl Copy for SimdIsa
impl Eq for SimdIsa
impl StructuralPartialEq for SimdIsa
Auto Trait Implementations§
impl Freeze for SimdIsa
impl RefUnwindSafe for SimdIsa
impl Send for SimdIsa
impl Sync for SimdIsa
impl Unpin for SimdIsa
impl UnsafeUnpin for SimdIsa
impl UnwindSafe for SimdIsa
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more