triton.experimental.gluon.language.max_constancy
- triton.experimental.gluon.language.max_constancy(input, values, _semantic=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].