Trait cubecl_cuda::compiler::binary::Binary
source · pub trait Binary {
// Required method
fn format_scalar<Lhs, Rhs, Out>(
f: &mut Formatter<'_>,
lhs: Lhs,
rhs: Rhs,
out: Out,
elem: Elem,
) -> Result
where Lhs: Component,
Rhs: Component,
Out: Component;
// Provided methods
fn format(
f: &mut Formatter<'_>,
lhs: &Variable,
rhs: &Variable,
out: &Variable,
) -> Result { ... }
fn unroll_vec(
f: &mut Formatter<'_>,
lhs: &Variable,
rhs: &Variable,
out: &Variable,
elem: Elem,
index: usize,
) -> Result { ... }
}
Required Methods§
fn format_scalar<Lhs, Rhs, Out>( f: &mut Formatter<'_>, lhs: Lhs, rhs: Rhs, out: Out, elem: Elem, ) -> Result
Provided Methods§
fn format( f: &mut Formatter<'_>, lhs: &Variable, rhs: &Variable, out: &Variable, ) -> Result
fn unroll_vec( f: &mut Formatter<'_>, lhs: &Variable, rhs: &Variable, out: &Variable, elem: Elem, index: usize, ) -> Result
Object Safety§
This trait is not object safe.