[FRONTEND] expose tl.max_constancy hint (#1951)

Similar to `tl.multiple_of` and `tl.max_contiguous`, `tl.max_constancy`
will expose a compiler hint indicating that all the values are equal in
a block of a certain size.

---------

Co-authored-by: Philippe Tillet <phil@openai.com>
This commit is contained in:
David Berard
2023-07-17 11:30:25 -07:00
committed by GitHub
parent f6c4e8de76
commit 7202c6cff0
5 changed files with 32 additions and 0 deletions

View File

@@ -168,6 +168,7 @@ Compiler Hint Ops
:nosignatures:
debug_barrier
max_constancy
max_contiguous
multiple_of