Skip to content

Commit e09c1b7

Browse files
committed
minor fix
1 parent a507ba4 commit e09c1b7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def assert_vectorize_access(M: int = 64, N: int = 64):
4141
def issue_1013_buggy_kernel():
4242
# NOTE: This kernel is mainly to test some corner cases in boundary check
4343

44-
num_tokens = T.Var('num_tokens', 'int32')
44+
num_tokens = T.dynamic('num_tokens')
4545
num_threads = 128
4646

4747
@T.prim_func

tilelang/language/symbolics.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
__all__ = ["dynamic", "symbolic"]
88

99

10-
@deprecated("T.dynamic(...)", "tir.Var(...)", "v0.1.9")
1110
def dynamic(name: str, dtype: str = "int32"):
1211
"""
1312
Create a TIR dynamic symbolic variable.
@@ -22,7 +21,7 @@ def dynamic(name: str, dtype: str = "int32"):
2221
return tir.Var(name, dtype)
2322

2423

25-
@deprecated("T.symbolic(...)", "T.dynamic(...)")
24+
@deprecated("T.symbolic(...)", "T.dynamic(...)", "v0.1.9")
2625
def symbolic(name: str, dtype: str = "int32"):
2726
"""Deprecated alias for `T.dynamic`."""
2827
return tir.Var(name, dtype)

0 commit comments

Comments
 (0)