triton.language.mul

triton.language.mul(x, y, sanitize_overflow: constexpr = True, _semantic=None)

Computes the element-wise product of x and y.

This is the function form of the * operator.

Parameters:
  • x (Block) – the first input tensor

  • y (Block) – the second input tensor

  • sanitize_overflow (bool) – insert an integer-overflow check when overflow sanitization is enabled at compile time; set to False to emit plain wrapping arithmetic. Ignored for floating-point operands.