pub enum Strategy {
Simple(SyncLoadingStrategy, Selection<SimpleArgs>),
SimpleBarrier(AsyncLoadingStrategy),
DoubleBuffering(SyncPartialLoadingStrategy, Selection<DoubleBufferingArgs>),
SimpleUnit(Selection<SimpleUnitSelectionArgs>),
DoubleUnit(Selection<DoubleUnitSelectionArgs>),
OrderedDoubleBuffering(Selection<OrderedSelectionArgs>),
Naive,
Auto,
}
Expand description
The matmul algorithm to launch
Most strategies have a selection input that can be overwritten or inferred from minimal information Some strategies must have a specified loading strategy
Variants§
Simple(SyncLoadingStrategy, Selection<SimpleArgs>)
SimpleBarrier(AsyncLoadingStrategy)
DoubleBuffering(SyncPartialLoadingStrategy, Selection<DoubleBufferingArgs>)
SimpleUnit(Selection<SimpleUnitSelectionArgs>)
DoubleUnit(Selection<DoubleUnitSelectionArgs>)
OrderedDoubleBuffering(Selection<OrderedSelectionArgs>)
Naive
Auto
Tries using a Simple matmul, then a SimpleUnit if the former failed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Strategy
impl RefUnwindSafe for Strategy
impl Send for Strategy
impl Sync for Strategy
impl Unpin for Strategy
impl UnwindSafe for Strategy
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