[FRONTEND] update assert_helper.py (#1789)

This commit is contained in:
Christopher Hesse
2023-06-15 16:24:30 -07:00
committed by GitHub
parent 9a2580de13
commit 981e98a213

View File

@@ -51,7 +51,7 @@ def test_assert(func: str):
kernel_device_assert[(1,)](x, y, BLOCK=shape[0])
kernel_device_assert_scalar[(1,)](x, y, BLOCK=shape[0])
elif func == "no_debug":
# TRITON_DEBUG=True can override the debug flag
# TRITON_DEBUG=1 can override the debug flag
kernel_device_assert_no_debug[(1,)](x, y, BLOCK=shape[0])
elif func == "assert":
kernel_assert[(1,)](x, y, BLOCK=shape[0])