cubecl_core::frontend

Trait Erf

Source
pub trait Erf: CubePrimitive + Sized {
    // Provided methods
    fn erf(x: Self) -> Self { ... }
    fn __expand_erf(
        context: &mut CubeContext,
        x: Self::ExpandType,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn erf(x: Self) -> Self

Source

fn __expand_erf( context: &mut CubeContext, x: Self::ExpandType, ) -> 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 Erf for f32

Source§

impl Erf for f64

Source§

impl Erf for bf16

Source§

impl Erf for f16

Implementors§

Source§

impl<P: CubePrimitive + Erf> Erf for Line<P>