diff --git a/docs/python-api/triton.language.rst b/docs/python-api/triton.language.rst index de2ef6d7d5be..2676a4af3627 100644 --- a/docs/python-api/triton.language.rst +++ b/docs/python-api/triton.language.rst @@ -191,4 +191,3 @@ Iterators :nosignatures: static_range - multiple_of diff --git a/python/triton/language/core.py b/python/triton/language/core.py index c3612a39e0a2..ca77d46a8e11 100644 --- a/python/triton/language/core.py +++ b/python/triton/language/core.py @@ -1536,7 +1536,7 @@ def debug_barrier(_builder=None): @builtin def multiple_of(input, values, _builder=None): """ - Let the compiler knows that the values in :code:`input` are all multiples of :code:`value`. + Let the compiler know that the values in :code:`input` are all multiples of :code:`value`. """ if isinstance(values, constexpr): values = [values] @@ -1552,7 +1552,7 @@ def multiple_of(input, values, _builder=None): @builtin def max_contiguous(input, values, _builder=None): """ - Let the compiler knows that the `value` first values in :code:`input` are contiguous. + Let the compiler know that the `value` first values in :code:`input` are contiguous. """ if isinstance(values, constexpr): values = [values] @@ -1568,7 +1568,7 @@ def max_contiguous(input, values, _builder=None): @builtin def max_constancy(input, values, _builder=None): """ - Let the compiler knows that the `value` first values in :code:`input` are constant. + Let the compiler know that the `value` first values in :code:`input` are constant. e.g. if :code:`values` is [4], then each group of 4 values in :code:`input` should all be equal, for example [0, 0, 0, 0, 1, 1, 1, 1].