Trait Dialect

Source
pub trait Dialect:
    WmmaCompiler<Self>
    + Default
    + Clone
    + Copy
    + Debug
    + Send
    + Sync
    + Eq
    + Hash
    + 'static {
    // Required methods
    fn include_f16(f: &mut Formatter<'_>) -> Result;
    fn include_bf16(f: &mut Formatter<'_>) -> Result;
    fn include_runtime(f: &mut Formatter<'_>) -> Result;
    fn bfloat16_type_name(f: &mut Formatter<'_>) -> Result;
    fn bfloat162_type_name(f: &mut Formatter<'_>) -> Result;
    fn warp_shuffle(var: &str, source: &str) -> String;
    fn warp_shuffle_xor(var: &str, offset: &str) -> String;
    fn warp_shuffle_down(var: &str, offset: &str) -> String;
    fn warp_all(var: &str) -> String;
    fn warp_any(var: &str) -> String;
}

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§