入门指南
Python API
static_assert()
Triton MLIR方言
编程指南
在编译时断言条件。不需要设置TRITON_DEBUG环境变量。
TRITON_DEBUG
tl.static_assert(BLOCK_SIZE == 1024)