Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 46b2419

Browse files
author
Sven Verdoolaege
committed
ScheduleTree::scheduleDepth: use ScheduleTreeElemBand::nMember
This is the canonical way of determining the number of scheduling dimensions in a band.
1 parent c709105 commit 46b2419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tc/core/polyhedral/schedule_tree.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ size_t ScheduleTree::scheduleDepth(const ScheduleTree* relativeRoot) const {
192192
if (!bandElem) {
193193
continue;
194194
}
195-
depth += bandElem->mupa_.dim(isl::dim_type::set);
195+
depth += bandElem->nMember();
196196
}
197197
return depth;
198198
}

0 commit comments

Comments
 (0)