cubecl_core::frontend

Trait Dot

Source
pub trait Dot: CubeType + Sized {
    // Provided methods
    fn dot(self, _rhs: Self) -> Self { ... }
    fn __expand_dot(
        context: &mut CubeContext,
        lhs: ExpandElementTyped<Self>,
        rhs: ExpandElementTyped<Self>,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn dot(self, _rhs: Self) -> Self

Source

fn __expand_dot( context: &mut CubeContext, lhs: ExpandElementTyped<Self>, rhs: ExpandElementTyped<Self>, ) -> ExpandElementTyped<Self>

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.

Implementations on Foreign Types§

Source§

impl Dot for f32

Source§

impl Dot for f64

Source§

impl Dot for i32

Source§

impl Dot for i64

Source§

impl Dot for u32

Source§

impl Dot for bf16

Source§

impl Dot for f16

Implementors§