Struct SimpleTmaConvAlgorithm

Source
pub struct SimpleTmaConvAlgorithm<TMM: TileMatmulFamily> { /* private fields */ }
Expand description

Cmma convolution

Trait Implementations§

Source§

impl<TMM: TileMatmulFamily> Algorithm for SimpleTmaConvAlgorithm<TMM>

Source§

type TileMatmul = TMM

Source§

type StageMatmul = PlaneMatmulFamily<<SimpleTmaConvAlgorithm<TMM> as Algorithm>::TileMatmul, FullReaderFamily, FullReaderFamily>

Source§

type GlobalConvolution = SimpleTmaConvolutionFamily<<SimpleTmaConvAlgorithm<TMM> as Algorithm>::StageMatmul>

Source§

type Args = TensorMapArgs

Source§

fn cube_count( selection: &MatmulSelection, problem: &ConvolutionProblem, ) -> CubeCount

Source§

fn into_tensor_handle<R: Runtime, E: Numeric>( client: &ComputeClient<R::Server, R::Channel>, handle: &TensorHandleRef<'_, R>, ident: InputIdent, ) -> TensorHandle<R, E>

Source§

fn num_stages() -> NumStages

Source§

fn selection<R: Runtime>( client: &ComputeClient<R::Server, R::Channel>, problem: &ConvolutionProblem, plane_dim: u32, elem_stage: Elem, elem_acc: Elem, ) -> MatmulSelection

Source§

fn multi_row_strategy() -> MultiRowStrategy

Source§

fn loading_precompute_strategy() -> LoadingPrecomputeStrategy

Source§

fn loader_mode() -> LoaderMode

Source§

fn load_specialization() -> LoadSpecializationConfig

Source§

fn partition_buffering_strategy() -> PartitionBuffering

Source§

fn setup<R: Runtime, MP: MatmulPrecision>( client: &ComputeClient<R::Server, R::Channel>, problem: &ConvolutionProblem, selection: &MatmulSelection, line_sizes: &MatmulLineSizes, ) -> Result<<Self::GlobalConvolution as ConvolutionConfigFactory>::Config, MatmulSetupError>

Make a convolution config from a convolution problem, and launch options
Source§

fn filter_line_sizes( available_line_sizes: AvailableLineSizes, ) -> AvailableLineSizes

Auto Trait Implementations§

§

impl<TMM> Freeze for SimpleTmaConvAlgorithm<TMM>

§

impl<TMM> RefUnwindSafe for SimpleTmaConvAlgorithm<TMM>
where TMM: RefUnwindSafe,

§

impl<TMM> Send for SimpleTmaConvAlgorithm<TMM>

§

impl<TMM> Sync for SimpleTmaConvAlgorithm<TMM>

§

impl<TMM> Unpin for SimpleTmaConvAlgorithm<TMM>
where TMM: Unpin,

§

impl<TMM> UnwindSafe for SimpleTmaConvAlgorithm<TMM>
where TMM: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V