pub struct AlgorithmConfig {
pub enable_adaptive_selection: bool,
pub min_size_for_advanced: usize,
pub l1_cache_size: usize,
pub l2_cache_size: usize,
pub l3_cache_size: usize,
pub enable_operation_fusion: bool,
pub max_fusion_chain: usize,
pub enable_numerical_stability: bool,
pub scheduling_strategy: SchedulingStrategy,
}Expand description
Configuration for algorithmic optimizations
Fields§
§enable_adaptive_selection: boolEnable adaptive algorithm selection
min_size_for_advanced: usizeMinimum size for using advanced algorithms
l1_cache_size: usizeCache size hints for cache-oblivious algorithms
l2_cache_size: usize§l3_cache_size: usize§enable_operation_fusion: boolEnable operation fusion
max_fusion_chain: usizeMaximum fusion chain length
enable_numerical_stability: boolEnable numerical stability optimizations
scheduling_strategy: SchedulingStrategyParallel scheduling strategy
Trait Implementations§
Source§impl Clone for AlgorithmConfig
impl Clone for AlgorithmConfig
Source§fn clone(&self) -> AlgorithmConfig
fn clone(&self) -> AlgorithmConfig
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 AlgorithmConfig
impl Debug for AlgorithmConfig
Auto Trait Implementations§
impl Freeze for AlgorithmConfig
impl RefUnwindSafe for AlgorithmConfig
impl Send for AlgorithmConfig
impl Sync for AlgorithmConfig
impl Unpin for AlgorithmConfig
impl UnsafeUnpin for AlgorithmConfig
impl UnwindSafe for AlgorithmConfig
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