pub struct KernelFeatures {
pub neon: bool,
pub dotprod: bool,
pub fp16: bool,
pub i8mm: bool,
pub sme2: bool,
pub avx2: bool,
pub popcnt: bool,
}Expand description
Runtime CPU capabilities relevant to current and reserved kernel tiers.
Fields§
§neon: boolAArch64 Advanced SIMD is executable.
dotprod: boolAArch64 FEAT_DotProd is executable.
fp16: boolAArch64 half-precision conversion/arithmetic is executable.
i8mm: boolAArch64 FEAT_I8MM is executable.
sme2: boolAArch64 FEAT_SME2 was detected; implementation is deferred to B1.
avx2: boolx86-64 AVX2 is executable.
popcnt: boolx86 POPCNT is executable.
Trait Implementations§
Source§impl Clone for KernelFeatures
impl Clone for KernelFeatures
impl Copy for KernelFeatures
Source§impl Debug for KernelFeatures
impl Debug for KernelFeatures
Source§impl Default for KernelFeatures
impl Default for KernelFeatures
impl Eq for KernelFeatures
Source§impl PartialEq for KernelFeatures
impl PartialEq for KernelFeatures
impl StructuralPartialEq for KernelFeatures
Auto Trait Implementations§
impl Freeze for KernelFeatures
impl RefUnwindSafe for KernelFeatures
impl Send for KernelFeatures
impl Sync for KernelFeatures
impl Unpin for KernelFeatures
impl UnsafeUnpin for KernelFeatures
impl UnwindSafe for KernelFeatures
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