pub struct SimdConfig {
pub use_avx512: bool,
pub use_avx2: bool,
pub use_sse: bool,
pub min_vector_length: usize,
pub parallel_simd: bool,
pub block_size: usize,
}Expand description
Configuration for SIMD operations
Fields§
§use_avx512: boolUse AVX-512 if available
use_avx2: boolUse AVX2 if available
use_sse: boolUse SSE if available
min_vector_length: usizeMinimum vector length for SIMD acceleration
parallel_simd: boolUse parallel SIMD for large operations
block_size: usizeBlock size for tiled matrix operations
Trait Implementations§
Source§impl Clone for SimdConfig
impl Clone for SimdConfig
Source§fn clone(&self) -> SimdConfig
fn clone(&self) -> SimdConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimdConfig
impl Debug for SimdConfig
Auto Trait Implementations§
impl Freeze for SimdConfig
impl RefUnwindSafe for SimdConfig
impl Send for SimdConfig
impl Sync for SimdConfig
impl Unpin for SimdConfig
impl UnwindSafe for SimdConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more