vinx13 commented on code in PR #87: URL: https://github.com/apache/tvm-rfcs/pull/87#discussion_r946217530
########## rfcs/0070-introducing-decl-buffer.md: ########## @@ -146,9 +146,36 @@ Specifically, the updated flow of buffer flattening using `DeclBuffer` will be: with flattened indices. ## TVM script updates +* New statement `T.decl_buffer` will be introduced. It has the same interface as `T.buffer_decl`. +```python +def decl_buffer( + shape: Sequence[Union[PrimExpr, int]], + dtype: str = "float32", + data: Var = None, Review Comment: Thank you for pointing out, I've updated the RFC -- 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]
