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

Commit 57e4ceb

Browse files
author
Sven Verdoolaege
committed
use templated isl types collectMappingsTo
1 parent 4f6be71 commit 57e4ceb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tc/core/polyhedral/cuda/memory_promotion_heuristic.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,13 @@ isl::UnionSet<Statement> collectMappingsTo(const Scop& scop) {
257257
auto mappingFilters =
258258
detail::ScheduleTree::collect(root, detail::ScheduleTreeType::Mapping);
259259
mappingFilters = functional::Filter(isMappingTo<MappingType>, mappingFilters);
260-
auto mapping = isl::union_set::empty(domain.get_space());
260+
auto mapping = isl::UnionSet<Statement>::empty(domain.get_space());
261261
for (auto mf : mappingFilters) {
262262
auto filterNode = mf->as<detail::ScheduleTreeMapping>();
263263
auto filter = filterNode->filter_.intersect(activeDomainPoints(root, mf));
264264
mapping = mapping.unite(filterNode->filter_);
265265
}
266-
return isl::UnionSet<Statement>(mapping);
266+
return mapping;
267267
}
268268

269269
struct Unrolled;

0 commit comments

Comments
 (0)