triton.arange

triton.arange(start, end, builder=None)

Returns contiguous values within the open interval [start, end).

Parameters
  • start (int) – Start of the interval.

  • stop (int) – End of the interval.

  • builder (triton.ir.builder) – IR builder to generate code into, optional from within @triton.jit functions