Trait DialectWmmaCompiler

Source
pub trait DialectWmmaCompiler<D: Dialect>:
    Default
    + Clone
    + Copy
    + Debug
    + Send
    + Sync
    + Eq
    + Hash
    + 'static {
    // Required methods
    fn compile_wmma_includes(f: &mut Formatter<'_>) -> Result;
    fn compile_wmma_type_definitions(f: &mut Formatter<'_>) -> Result;
    fn compile_wmma_local_variables(f: &mut Formatter<'_>) -> Result;
    fn compile_wmma_fragment_declaration(
        f: &mut Formatter<'_>,
        var: &Variable<D>,
    ) -> Result;
    fn compile_wwma_fragment_ident(
        f: &mut Formatter<'_>,
        ident: &FragmentIdent<D>,
    ) -> Result;
    fn compile_wmma_fragment_layout(
        f: &mut Formatter<'_>,
        layout: &FragmentLayout<D>,
    ) -> Result;
    fn compile_wmma_fragment(
        f: &mut Formatter<'_>,
        fragment: &Fragment<D>,
    ) -> Result;
    fn compile_wmma_instruction(
        f: &mut Formatter<'_>,
        instruction: &WmmaInstruction<D>,
    ) -> Result;
    fn supported_wmma_combinations(
        arch: &D::Architecture,
    ) -> SupportedWmmaCombinations;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§