Lunderberg opened a new pull request, #16663: URL: https://github.com/apache/tvm/pull/16663
Prior to this commit, the automatic `T.reads()` and `T.writes()` annotations were only generated for buffers appearing as function arguments, as `T.alloc_buffer` in a `T.block`, or as `T.match_buffer` in a `T.block`. However, inferred `T.reads()` for a buffer defined by the `"tir.BindParams"` pass would be erroneously missing. These annotations may be required for correct scheduling (see discussion in [PR#16660](https://github.com/apache/tvm/pull/16660)). This commit updates the TVMScript parsing to infer `T.reads()` and `T.writes()` annotations for buffers defined with `DeclBuffer` nodes. -- 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]
