masahi commented on a change in pull request #8366:
URL: https://github.com/apache/tvm/pull/8366#discussion_r665848790



##########
File path: python/tvm/script/special_stmt.py
##########
@@ -491,6 +491,22 @@ def var(dtype, span):
         super().__init__(var, def_symbol=True)
 
 
+@register
+class BufferVarDef(SpecialStmt):

Review comment:
       cc @spectrometerHBH for tvmscript changes. This is for distinguishing a 
normal variable from a buffer variable. The latter one requires storage scope. 
See the change in `test_tvmscript_roundtrip.py`. The tvm script printer was 
also updated.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to