triton.language.max_constancy
- triton.language.max_constancy(input, values, _builder=None)
Let the compiler know that the value first values in
inputare constant.e.g. if
valuesis [4], then each group of 4 values ininputshould all be equal, for example [0, 0, 0, 0, 1, 1, 1, 1].