pub struct SpecializedConv<TMM: TileMatmulFamily, L: AsyncPartialLoadingStrategy<RuntimeArgs>> { /* private fields */ }Expand description
Cmma convolution
Trait Implementations§
Source§impl<TMM: TileMatmulFamily<LhsTile = Strided, RhsTile = Strided, AccTile = CubeOption<Strided>, OutTile = Strided>, L: AsyncPartialLoadingStrategy<RuntimeArgs, TileKind = Strided>> Algorithm for SpecializedConv<TMM, L>
impl<TMM: TileMatmulFamily<LhsTile = Strided, RhsTile = Strided, AccTile = CubeOption<Strided>, OutTile = Strided>, L: AsyncPartialLoadingStrategy<RuntimeArgs, TileKind = Strided>> Algorithm for SpecializedConv<TMM, L>
Source§const IS_SPECIALIZED: bool = true
const IS_SPECIALIZED: bool = true
Whether to select specialized load flow in tests. Should replace with something cleaner
eventually, but this is nice and simple.
type Routine = SpecializedAlgorithm<TMM, L, SyncBiasLoading>
type Args = TensorArgs<RuntimeArgs>
fn into_tensor_handle<R: Runtime>( client: &ComputeClient<R>, handle: &TensorHandleRef<'_, R>, dtype: StorageType, _operation: ConvolutionOperation, ) -> Result<TensorHandle<R>, LaunchError>
fn filter_line_sizes(line_sizes: AvailableLineSizes) -> AvailableLineSizes
Auto Trait Implementations§
impl<TMM, L> Freeze for SpecializedConv<TMM, L>
impl<TMM, L> RefUnwindSafe for SpecializedConv<TMM, L>where
TMM: RefUnwindSafe,
L: RefUnwindSafe,
impl<TMM, L> Send for SpecializedConv<TMM, L>
impl<TMM, L> Sync for SpecializedConv<TMM, L>
impl<TMM, L> Unpin for SpecializedConv<TMM, L>
impl<TMM, L> UnwindSafe for SpecializedConv<TMM, L>where
TMM: UnwindSafe,
L: UnwindSafe,
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