Skip to content

Commit 645d356

Browse files
committed
Fix test case in test_tir_transform_split_host_device
1 parent 2f70c39 commit 645d356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/python/unittest/test_tir_transform_split_host_device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def main(n: T.int32):
152152
err = mod.main_kernel(n)
153153
assert err == 0, "Error executing compute kernel"
154154

155-
@T.prim_func
155+
@T.prim_func(private=True)
156156
def main_kernel(n: T.int32) -> T.int32:
157157
T.func_attr(
158158
{

0 commit comments

Comments
 (0)