Function cubecl_core::frontend::branch::range_stepped

source ·
pub fn range_stepped<S, E, Step>(
    start: S,
    end: E,
    step: Step,
    _unroll: Comptime<bool>,
) -> impl Iterator<Item = UInt>
where S: Into<UInt>, E: Into<UInt>, Step: Into<UInt>,
Expand description

Stepped range. Equivalent to:

for i in (start..end).step_by(step) { ... }