pub enum Level {
Baseline,
Avx2Fma,
Avx512,
Neon,
}Expand description
The instruction set dispatch selects on this machine.
Variants§
Baseline
Baseline instructions of the build target.
Avx2Fma
x86_64 with AVX2 and FMA.
Avx512
x86_64 with AVX2, FMA and AVX-512F: kernels that opt in
(Kernel::WIDE) get their eight-lane work in one register. Detected
only in a build by a Rust that supports AVX-512 (1.89 and later).
Neon
aarch64, whose baseline includes NEON and FMA.
Implementations§
Trait Implementations§
impl Copy for Level
impl Eq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnsafeUnpin for Level
impl UnwindSafe for Level
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