cubecl_core::frontend::select

Function expand

Source
pub fn expand<C: CubePrimitive>(
    context: &mut CubeContext,
    condition: ExpandElementTyped<bool>,
    then: ExpandElementTyped<C>,
    or_else: ExpandElementTyped<C>,
) -> ExpandElementTyped<C>