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

Commit 85bd48f

Browse files
Merge pull request #447 from facebookresearch/pr/size
ScheduleTreeElemBand: use isl::multi_union_pw_aff::size
2 parents c93acf8 + b736556 commit 85bd48f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tc/core/polyhedral/schedule_tree_elem.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ std::unique_ptr<ScheduleTreeElemBand> ScheduleTreeElemBand::fromMultiUnionPwAff(
127127
isl::ctx ctx(mupa.get_ctx());
128128
std::unique_ptr<ScheduleTreeElemBand> band(new ScheduleTreeElemBand);
129129
band->mupa_ = mupa.floor();
130-
size_t n = band->mupa_.dim(isl::dim_type::set);
130+
size_t n = band->mupa_.size();
131131
band->coincident_ = vector<bool>(n, false);
132132
band->unroll_ = vector<bool>(n, false);
133133
return band;
134134
}
135135

136136
// Return the number of scheduling dimensions in the band
137137
size_t ScheduleTreeElemBand::nMember() const {
138-
size_t res = mupa_.dim(isl::dim_type::set);
138+
size_t res = mupa_.size();
139139
CHECK_EQ(res, coincident_.size());
140140
CHECK_EQ(res, unroll_.size());
141141
return res;

third-party/islpp

Submodule islpp updated from 72af18e to aeb76fe

0 commit comments

Comments
 (0)