junrushao commented on code in PR #12450:
URL: https://github.com/apache/tvm/pull/12450#discussion_r955645217
##########
src/tir/schedule/primitive/compute_at.cc:
##########
@@ -585,10 +603,11 @@ void ComputeAtOrReverseComputeAtImpl(ScheduleState self,
const StmtSRef& block_s
std::unordered_map<const BlockNode*, const BlockRealizeNode*> block2realize;
block2realize.reserve(self->block_info.size());
int insert_position = FindInsertionPoint<!is_compute_at, is_compute_at>(
- /*self=*/self,
+ /*self=*/self, /*scope=*/scope,
/*subtrees=*/AsArray(loop->body),
/*producer_srefs=*/producer_srefs,
- /*consumer_srefs=*/consumer_srefs, /*block2realize=*/&block2realize);
+ /*consumer_srefs=*/consumer_srefs, /*block2realize=*/&block2realize,
+ /*index*/ index);
Review Comment:
```suggestion
/*index=*/index);
```
--
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]