pub struct LoopFusionConfig {
pub enable_reduction_fusion: bool,
pub enable_elementwise_fusion: bool,
pub max_fusion_size: usize,
pub min_benefit_threshold: f64,
}Expand description
Configuration for loop fusion optimization.
Fields§
§enable_reduction_fusion: boolEnable fusion of reduction operations
enable_elementwise_fusion: boolEnable fusion of element-wise operations
max_fusion_size: usizeMaximum number of operations to fuse together
min_benefit_threshold: f64Minimum benefit threshold (estimated speedup factor)
Trait Implementations§
Source§impl Clone for LoopFusionConfig
impl Clone for LoopFusionConfig
Source§fn clone(&self) -> LoopFusionConfig
fn clone(&self) -> LoopFusionConfig
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 LoopFusionConfig
impl Debug for LoopFusionConfig
Auto Trait Implementations§
impl Freeze for LoopFusionConfig
impl RefUnwindSafe for LoopFusionConfig
impl Send for LoopFusionConfig
impl Sync for LoopFusionConfig
impl Unpin for LoopFusionConfig
impl UnwindSafe for LoopFusionConfig
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