pub struct PolyhedralConfig {
pub enable_tiling: bool,
pub tile_size: usize,
pub enable_fusion: bool,
pub enable_interchange: bool,
pub enable_skewing: bool,
pub maximize_parallelism: bool,
pub optimize_locality: bool,
}Expand description
Configuration for polyhedral optimization
Fields§
§enable_tiling: boolEnable loop tiling
tile_size: usizeTile size for cache blocking
enable_fusion: boolEnable loop fusion
enable_interchange: boolEnable loop interchange
enable_skewing: boolEnable loop skewing
maximize_parallelism: boolMaximize parallelism
optimize_locality: boolOptimize for cache locality
Trait Implementations§
Source§impl Clone for PolyhedralConfig
impl Clone for PolyhedralConfig
Source§fn clone(&self) -> PolyhedralConfig
fn clone(&self) -> PolyhedralConfig
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 PolyhedralConfig
impl Debug for PolyhedralConfig
Auto Trait Implementations§
impl Freeze for PolyhedralConfig
impl RefUnwindSafe for PolyhedralConfig
impl Send for PolyhedralConfig
impl Sync for PolyhedralConfig
impl Unpin for PolyhedralConfig
impl UnsafeUnpin for PolyhedralConfig
impl UnwindSafe for PolyhedralConfig
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