vinx13 commented on code in PR #87: URL: https://github.com/apache/tvm-rfcs/pull/87#discussion_r943730590
########## 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: I'm keeping the order the same as the existing `T.buffer_decl` -- 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]
