vinx13 opened a new pull request, #12412:
URL: https://github.com/apache/tvm/pull/12412

   * Updated TVMScript syntax of `T.allocate` to return buffer var.
   * Added syntax sugar for `T.decl_buffer`. When `data` field is not 
specified, `data` will be implicitly created via `Allocate` stmt.
   * Updated the existing test cases. Most test cases can be updated by 
changing `T.allocate` to `T.decl_buffer`. `T.allocate` in some tests are 
updated to `T.allocate` + `T.buffer_decl`, to maintain the legacy behavior of 
allocation and implicit buffer declaration (will be followed up in future PR to 
adopt `T.decl_buffer`).
   
   Related RFC: https://github.com/apache/tvm-rfcs/pull/87
   
   cc @junrushao1994 @Lunderberg @wrongtest-intellif @cyx-6 @tqchen 


-- 
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