triton.language.add
- triton.language.add(x, y, sanitize_overflow: constexpr = True, _semantic=None)
Computes the element-wise sum of
xandy.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
Falseto emit plain wrapping arithmetic. Ignored for floating-point operands.