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

Commit 82871f7

Browse files
author
Sven Verdoolaege
committed
MappedScop::makeMappedScop: add warning that result is not proper MappedScop
1 parent c70ca38 commit 82871f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tc/core/polyhedral/cuda/mapped_scop.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ class MappedScop {
7979
mscop->mapThreadsBackward(band);
8080
return mscop;
8181
}
82+
// The MappedScop returned by this method does not satisfy the invariant
83+
// of having a mapping to blocks and threads. It is up to the caller
84+
// to insert these mappings.
8285
static inline std::unique_ptr<MappedScop> makeMappedScop(
8386
std::unique_ptr<Scop>&& scop,
8487
::tc::Grid grid,

0 commit comments

Comments
 (0)