Skip to content

Commit ab60f6e

Browse files
committed
fix lint error
1 parent 8e06fe9 commit ab60f6e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tilelang/transform/add_bufstore_wrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import tvm
21
from tvm.tir import PyStmtExprMutator, BufferStore, For, ForKind, Var, PrimFunc
32
from tvm.tir.functor import mutator
43
from tvm.tir.transform import prim_func_pass
54

65

76
@mutator
87
class AddWrapperForSingleStoreMutator(PyStmtExprMutator):
8+
99
def __init__(self):
1010
self.inside_pfor = 0
1111

@@ -24,8 +24,10 @@ def visit_buffer_store_(self, op: BufferStore):
2424

2525

2626
def AddWrapperForSingleBufStore():
27+
2728
def pass_fn(func: PrimFunc, mod, ctx):
2829
mut = AddWrapperForSingleStoreMutator()
2930
new_body = mut.visit_stmt(func.body)
3031
return func.with_body(new_body)
31-
return prim_func_pass(pass_fn, opt_level=0)
32+
33+
return prim_func_pass(pass_fn, opt_level=0)

0 commit comments

Comments
 (0)