pub struct VectorizeConfig {
pub target: TargetArch,
pub forced_width: u8,
pub generate_remainder: bool,
pub enable_fma: bool,
pub min_trip_count: usize,
}Expand description
Configuration for vectorization.
Fields§
§target: TargetArchTarget architecture.
forced_width: u8Force a specific vector width (0 = auto).
generate_remainder: boolGenerate remainder loop for non-aligned iterations.
enable_fma: boolEnable FMA fusion.
min_trip_count: usizeMinimum trip count for vectorization.
Trait Implementations§
Source§impl Clone for VectorizeConfig
impl Clone for VectorizeConfig
Source§fn clone(&self) -> VectorizeConfig
fn clone(&self) -> VectorizeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VectorizeConfig
impl Debug for VectorizeConfig
Auto Trait Implementations§
impl Freeze for VectorizeConfig
impl RefUnwindSafe for VectorizeConfig
impl Send for VectorizeConfig
impl Sync for VectorizeConfig
impl Unpin for VectorizeConfig
impl UnsafeUnpin for VectorizeConfig
impl UnwindSafe for VectorizeConfig
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