Skip to content

Commit b872ca1

Browse files
committed
Add unit test for T.assume
1 parent 1bcd471 commit b872ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/python/language/test_tilelang_language_assume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def kernel_with_assume():
99
N = T.dynamic('N')
1010

1111
@T.prim_func
12-
def main(A: T.Tensor((N,), "float32"), l : T.int32, r : T.int32):
12+
def main(A: T.Tensor((N,), "float32"), l: T.int32, r: T.int32):
1313
with T.Kernel(1, threads=32) as _:
1414
for i in T.serial(r - l + 1):
1515
T.assume(l + i >= 0 and l + i < N)

0 commit comments

Comments
 (0)