triton.language.cdiv

triton.language.cdiv(x, div)

Computes the ceiling division of x by div

Parameters:
  • x (Block) – the input number

  • div (Block) – the divisor

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