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

Commit 3e0bd6a

Browse files
author
Sven Verdoolaege
committed
MappedScop::mapToThreads: update comment to change in mapping order
The comment was left unchanged when the mapping order was changed from starting from the outermost band mender to starting from the innermost band member.
1 parent 40d6b7d commit 3e0bd6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tc/core/polyhedral/cuda/mapped_scop.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ size_t MappedScop::mapToThreads(detail::ScheduleTree* band, size_t nInner) {
367367
}
368368
// With current isl scheduler, if coincident dimensions exist in a band,
369369
// they are outermost.
370-
// If a band has more than 3 coincident dimensions, this will choose
371-
// outermost, but we may also want innermost.
370+
// If a band has more than 3 coincident dimensions,
371+
// then the innermost of those will be used.
372372
auto nOuterCoincident = bandNode->nOuterCoincident();
373373
if (!bandNode->permutable_ || nOuterCoincident < 1) {
374374
return nInner;

0 commit comments

Comments
 (0)