junrushao1994 commented on a change in pull request #9041:
URL: https://github.com/apache/tvm/pull/9041#discussion_r716921095
##########
File path: include/tvm/tir/schedule/state.h
##########
@@ -142,6 +142,8 @@ class ScheduleStateNode : public Object {
/******** Property of blocks ********/
/*! \brief Returns the BlockInfo correpsonding to the block sref */
TVM_DLL BlockInfo GetBlockInfo(const StmtSRef& block_sref) const;
+ /*! \brief Recalculate the BlockInfo recursively under stmt */
+ TVM_DLL void UpdateSubtreeBlockInfo(const Stmt& stmt);
Review comment:
Do we have any additional constraint of this API? For example:
- `stmt` must be a `Block`?
- All loop /blocks in the subtree must not have any sref
--
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]