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 settings(_elem: Elem) -> InstructionSettings { ... }
fn format_native_vec4(
f: &mut Formatter<'_>,
lhs: &Variable,
rhs: &Variable,
out: &Variable,
elem: Elem,
) -> Result { ... }
fn format_native_vec3(
f: &mut Formatter<'_>,
lhs: &Variable,
rhs: &Variable,
out: &Variable,
elem: Elem,
) -> Result { ... }
fn format_native_vec2(
f: &mut Formatter<'_>,
lhs: &Variable,
rhs: &Variable,
out: &Variable,
elem: Elem,
) -> Result { ... }
fn unroll_vec2(
f: &mut Formatter<'_>,
lhs: &Variable,
rhs: &Variable,
out: &Variable,
elem: Elem,
) -> Result { ... }
fn unroll_vec3(
f: &mut Formatter<'_>,
lhs: &Variable,
rhs: &Variable,
out: &Variable,
elem: Elem,
) -> Result { ... }
fn unroll_vec4(
f: &mut Formatter<'_>,
lhs: &Variable,
rhs: &Variable,
out: &Variable,
elem: Elem,
) -> 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 settings(_elem: Elem) -> InstructionSettings
fn format_native_vec4( f: &mut Formatter<'_>, lhs: &Variable, rhs: &Variable, out: &Variable, elem: Elem, ) -> Result
fn format_native_vec3( f: &mut Formatter<'_>, lhs: &Variable, rhs: &Variable, out: &Variable, elem: Elem, ) -> Result
fn format_native_vec2( f: &mut Formatter<'_>, lhs: &Variable, rhs: &Variable, out: &Variable, elem: Elem, ) -> Result
fn unroll_vec2( f: &mut Formatter<'_>, lhs: &Variable, rhs: &Variable, out: &Variable, elem: Elem, ) -> Result
fn unroll_vec3( f: &mut Formatter<'_>, lhs: &Variable, rhs: &Variable, out: &Variable, elem: Elem, ) -> Result
fn unroll_vec4( f: &mut Formatter<'_>, lhs: &Variable, rhs: &Variable, out: &Variable, elem: Elem, ) -> 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.