We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a48fb5 commit 1711be3Copy full SHA for 1711be3
1 file changed
src/meta_schedule/space_generator/post_order_apply.cc
@@ -145,7 +145,8 @@ class PostOrderApplyNode : public SpaceGeneratorNode {
145
<< ann.value();
146
}
147
148
- if ((!sch_rule.defined() && !has_schedule_rule) ||
+ if ((has_schedule_rule && sch_rule.defined()) ||
149
+ (!has_schedule_rule && !sch_rule.defined()) ||
150
(ann.defined() && ann.value() == "None")) {
151
stack.emplace_back(sch, blocks);
152
continue;
0 commit comments