pub struct SimpleConvAlgorithm<TMM: TileMatmulFamily> { /* private fields */ }
Expand description
Cmma convolution
Trait Implementations§
Source§impl<TMM: TileMatmulFamily> Algorithm for SimpleConvAlgorithm<TMM>
impl<TMM: TileMatmulFamily> Algorithm for SimpleConvAlgorithm<TMM>
type TileMatmul = TMM
type StageMatmul = PlaneMatmulFamily<<SimpleConvAlgorithm<TMM> as Algorithm>::TileMatmul, FullReaderFamily>
type GlobalConvolution = SimpleConvolutionFamily<<SimpleConvAlgorithm<TMM> as Algorithm>::StageMatmul>
type Args = TensorArgs
fn cube_dim(selection: &MatmulSelection) -> CubeDim
fn cube_count( selection: &MatmulSelection, problem: &ConvolutionProblem, ) -> CubeCount
fn into_tensor_handle<R: Runtime, E: Numeric>( client: &ComputeClient<R::Server, R::Channel>, handle: &TensorHandleRef<'_, R>, ident: InputIdent, ) -> TensorHandle<R, E>
Source§fn make_config(
input: <Self::GlobalConvolution as ConvolutionConfigFactory>::Input,
problem: &ConvolutionProblem,
cube_dim: &CubeDim,
cube_count: &CubeCount,
) -> Result<<Self::GlobalConvolution as ConvolutionConfigFactory>::Config, InvalidConfigError>
fn make_config( input: <Self::GlobalConvolution as ConvolutionConfigFactory>::Input, problem: &ConvolutionProblem, cube_dim: &CubeDim, cube_count: &CubeCount, ) -> Result<<Self::GlobalConvolution as ConvolutionConfigFactory>::Config, InvalidConfigError>
Make a convolution config from a convolution problem, and launch options
fn check_availability<R: Runtime, MP: MatmulPrecision>( client: &ComputeClient<R::Server, R::Channel>, config: &<Self::GlobalConvolution as ConvolutionConfigFactory>::Config, ) -> Result<(), MatmulAvailabilityError>
Auto Trait Implementations§
impl<TMM> Freeze for SimpleConvAlgorithm<TMM>
impl<TMM> RefUnwindSafe for SimpleConvAlgorithm<TMM>
impl<TMM> Send for SimpleConvAlgorithm<TMM>
impl<TMM> Sync for SimpleConvAlgorithm<TMM>
impl<TMM> Unpin for SimpleConvAlgorithm<TMM>
impl<TMM> UnwindSafe for SimpleConvAlgorithm<TMM>
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