triton.language.static_print¶
- triton.language.static_print(*values, sep: str = ' ', end: str = '\n', file=None, flush=False)¶
Print the values at compile time. The parameters are the same as the builtin
print
.NOTE: Calling the Python builtin
print
is not the same as calling this, it instead maps todevice_print
, which has special requirements for the arguments.tl.static_print(f"BLOCK_SIZE={BLOCK_SIZE}")