pub enum ReduceStrategy {
Unspecified,
Specific(ReduceStrategy),
Autotune,
}Expand description
Select a strategy to perform a reduction.
Variants§
Unspecified
Use a best-effort strategy based on the hardware capacity. This differs from Autotune as it doesn’t try and compare many strategies to select the best.
Specific(ReduceStrategy)
Fix the exact strategy for the reduction.
Autotune
Available on crate feature
autotune only.Use autotune to find the best strategy given the hardware and the inputs.
Trait Implementations§
Source§impl Clone for ReduceStrategy
impl Clone for ReduceStrategy
Source§fn clone(&self) -> ReduceStrategy
fn clone(&self) -> ReduceStrategy
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 ReduceStrategy
impl Debug for ReduceStrategy
Source§impl Default for ReduceStrategy
impl Default for ReduceStrategy
impl Copy for ReduceStrategy
Auto Trait Implementations§
impl Freeze for ReduceStrategy
impl RefUnwindSafe for ReduceStrategy
impl Send for ReduceStrategy
impl Sync for ReduceStrategy
impl Unpin for ReduceStrategy
impl UnwindSafe for ReduceStrategy
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