You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "yincs-intellif (via GitHub)" <gi...@apache.org> on 2023/04/03 03:12:08 UTC

[GitHub] [tvm] yincs-intellif commented on a diff in pull request #14398: [TIR] Add merge primitive for TIR schedule

yincs-intellif commented on code in PR #14398:
URL: https://github.com/apache/tvm/pull/14398#discussion_r1155446943


##########
src/tir/schedule/concrete_schedule.cc:
##########
@@ -356,6 +356,17 @@ Array<BlockRV> ConcreteScheduleNode::GetConsumers(const BlockRV& block_rv) {
 
 /******** Schedule: Transform loops ********/
 
+LoopRV ConcreteScheduleNode::Merge(const Array<LoopRV>& loop_rvs) {
+  CHECK(!loop_rvs.empty()) << "ValueError: 'merge' requires at least 1 loop(s)";

Review Comment:
   OK



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