You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/03/10 14:32:49 UTC

[GitHub] [tvm] Lunderberg commented on a change in pull request #10550: [TVMSCRIPT] Add type definition for preflattened_buffer

Lunderberg commented on a change in pull request #10550:
URL: https://github.com/apache/tvm/pull/10550#discussion_r823778637



##########
File path: python/tvm/script/tir/__init__.pyi
##########
@@ -128,6 +128,18 @@ def store(
     var: Var, index: PrimExpr, value: PrimExpr, predicate: Union[PrimExpr, builtins.bool] = True
 ) -> None: ...
 def comm_reducer(lambda_io: Callable[[Any, Any], Any], identities: List[PrimExpr]) -> PrimExpr: ...
+def preflattened_buffer(
+    buf: Var,

Review comment:
       The first argument should be a `Buffer`, so that it can be matched to the same `Buffer` object as appears in the `buffer_map`.




-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org