Skip to content

Commit 5dc3cf3

Browse files
committed
lint
1 parent 95fa529 commit 5dc3cf3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

testing/python/language/test_tilelang_language_warp_reduce.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import pytest
21
import torch
32

43
import tilelang
@@ -12,10 +11,7 @@ def get_kernel(reduce_op: str, dtype: str):
1211
assert reduce_op in ["sum", "max", "min", "bitand", "bitor"]
1312

1413
@T.prim_func
15-
def main(
16-
x: T.Tensor((32), dtype)
17-
18-
):
14+
def main(x: T.Tensor((32), dtype)):
1915
with T.Kernel(1, threads=32):
2016
tx = T.get_thread_binding(0)
2117
local_val = T.alloc_local([1], dtype)
@@ -32,6 +28,7 @@ def main(
3228
elif reduce_op == "bitor":
3329
reduced_val[0] = T.warp_reduce_bitor(local_val[0])
3430
x[tx] = reduced_val[0]
31+
3532
return main
3633

3734

0 commit comments

Comments
 (0)