pub struct SimdCaps {
pub avx2: bool,
pub avx512f: bool,
pub fma: bool,
pub neon: bool,
}Expand description
CPU SIMD instruction-set availability (runtime-detected via
is_x86_feature_detected!, not compile-time #[cfg]), matching
the fields ferrox_quant’s kernel dispatch actually checks.
Fields§
§avx2: bool§avx512f: bool§fma: bool§neon: boolImplementations§
Trait Implementations§
impl Eq for SimdCaps
impl StructuralPartialEq for SimdCaps
Auto Trait Implementations§
impl Freeze for SimdCaps
impl RefUnwindSafe for SimdCaps
impl Send for SimdCaps
impl Sync for SimdCaps
impl Unpin for SimdCaps
impl UnsafeUnpin for SimdCaps
impl UnwindSafe for SimdCaps
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