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/11/29 16:28:22 UTC

[GitHub] [tvm] wrongtest-intellif opened a new pull request, #13510: [TIR][Schedule] Support for specific consumer block targeting in cache_write

wrongtest-intellif opened a new pull request, #13510:
URL: https://github.com/apache/tvm/pull/13510

   Hi, this change try add optional `consumer_blocks` param to `cache_write` symmetrically, following change on `cache_read` of https://github.com/apache/tvm/pull/12505.
   
   This is helpful when there are multiple consumers to the targeting block who also write to global output, and when we do `cache_write`, we may want to control some of the consumers read data reside on cache.
   
   As a comparation, for `s.cache_read(B, 0, "cache_scope", consumer_blocks=[B])`:
   
   <img width="404" alt="image" src="https://user-images.githubusercontent.com/7600935/204585844-1491d1a4-25c7-4aea-85b0-cb28e559a48b.png">
   
   For `s.cache_write(P, 0, "cache_scope", consumer_blocks=[B])`
   
   <img width="394" alt="image" src="https://user-images.githubusercontent.com/7600935/204585955-a1338041-029d-4bda-857b-d50367fe9ed3.png">
   
   cc @Hzfengsy @jwfromm 
   
   


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


[GitHub] [tvm] tvm-bot commented on pull request #13510: [TIR][Schedule] Support for specific consumer block targeting in cache_write

Posted by GitBox <gi...@apache.org>.
tvm-bot commented on PR #13510:
URL: https://github.com/apache/tvm/pull/13510#issuecomment-1330914154

   <!---bot-comment-->
   
   Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from [Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @-ing them in a comment.
   
   <!--bot-comment-ccs-start-->
    * cc @Hzfengsy, @junrushao <sub>See [#10317](https://github.com/apache/tvm/issues/10317) for details</sub><!--bot-comment-ccs-end-->
   
   <sub>Generated by [tvm-bot](https://github.com/apache/tvm/blob/main/ci/README.md#github-actions)</sub>


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


[GitHub] [tvm] Hzfengsy merged pull request #13510: [TIR][Schedule] Support for specific consumer block targeting in cache_write

Posted by GitBox <gi...@apache.org>.
Hzfengsy merged PR #13510:
URL: https://github.com/apache/tvm/pull/13510


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