pub struct LowerConfig {
pub target: TargetArch,
pub enable_vectorization: bool,
pub enable_parallelization: bool,
pub vectorize_threshold: usize,
pub parallelize_threshold: usize,
}Expand description
Configuration for lowering.
Fields§
§target: TargetArchTarget architecture for vectorization hints.
enable_vectorization: boolWhether to mark loops as potentially vectorizable.
enable_parallelization: boolWhether to mark loops as potentially parallelizable.
vectorize_threshold: usizeMinimum trip count for vectorization.
parallelize_threshold: usizeMinimum trip count for parallelization.
Trait Implementations§
Source§impl Clone for LowerConfig
impl Clone for LowerConfig
Source§fn clone(&self) -> LowerConfig
fn clone(&self) -> LowerConfig
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 LowerConfig
impl Debug for LowerConfig
Auto Trait Implementations§
impl Freeze for LowerConfig
impl RefUnwindSafe for LowerConfig
impl Send for LowerConfig
impl Sync for LowerConfig
impl Unpin for LowerConfig
impl UnsafeUnpin for LowerConfig
impl UnwindSafe for LowerConfig
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