pub struct SimdInfo {
pub tier: SimdSupport,
pub target_arch: &'static str,
pub host_features: Vec<&'static str>,
}Expand description
Snapshot of the SIMD tier lance dispatches to on the current host, plus the raw CPU features detected for diagnostic purposes.
Mirrors the role of pyarrow.runtime_info(): a single, cheap call users can
make to verify which SIMD tier the runtime selected and what underlying
features the host advertises. Obtain one with simd_info().
Fields§
§tier: SimdSupportThe SIMD tier lance dispatches to at runtime on this host.
target_arch: &'static strThe architecture name (e.g. “x86_64”, “aarch64”, “loongarch64”).
host_features: Vec<&'static str>Raw CPU feature flags detected on this host (x86_64 only; empty on other architectures). Each entry is a feature name like “avx2”, “fma”, “avx512f”, “popcnt”, etc.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimdInfo
impl RefUnwindSafe for SimdInfo
impl Send for SimdInfo
impl Sync for SimdInfo
impl Unpin for SimdInfo
impl UnsafeUnpin for SimdInfo
impl UnwindSafe for SimdInfo
Blanket Implementations§
impl<T> Allocation for T
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