triton.language.advance

triton.language.advance(base, offsets)

Advance a block pointer

Parameters:
  • base – the block pointer to advance

  • offsets – the offsets to advance, a tuple by dimension

This function can also be called as a member function on tensor, as x.advance(...) instead of advance(x, ...).