Trait cubecl_core::frontend::Max

source ·
pub trait Max: CubeType + Sized {
    // Provided methods
    fn max(self, _rhs: Self) -> Self { ... }
    fn __expand_max(
        context: &mut CubeContext,
        lhs: ExpandElementTyped<Self>,
        rhs: ExpandElementTyped<Self>,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Max for BF16

source§

impl Max for F16

source§

impl Max for F32

source§

impl Max for F64

source§

impl Max for I32

source§

impl Max for I64

source§

impl Max for UInt