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

Commit d9c9e49

Browse files
author
Sven Verdoolaege
committed
mapped_scop.cc: hide fixThreadsBelow
This function was never meant to be exposed.
1 parent 0f3f64b commit d9c9e49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tc/core/polyhedral/cuda/mapped_scop.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ void MappedScop::mapToBlocksAndScaleBand(
166166
bandScale(band, tileSizes);
167167
}
168168

169+
namespace {
170+
169171
/*
170172
* Given a node in the schedule tree of a mapped scop,
171173
* insert a mapping filter underneath (if needed) that fixes
@@ -186,6 +188,8 @@ void fixThreadsBelow(
186188
mscop.mapThreadsBackward(bandTree);
187189
}
188190

191+
} // namespace
192+
189193
bool MappedScop::detectReductions(detail::ScheduleTree* tree) {
190194
bool found = false;
191195
for (auto c : tree->children()) {

0 commit comments

Comments
 (0)