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

Commit a5f1b9d

Browse files
author
Sven Verdoolaege
committed
mapped_scop.h: fix typos in comments
1 parent 8fad4a6 commit a5f1b9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tc/core/polyhedral/cuda/mapped_scop.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class MappedScop {
161161

162162
// Find best thread sync between st1 and st2 when st2 is scheduled after
163163
// st1.
164-
// This function should assumes that it is called before block mapping
164+
// This function assumes that it is called before block mapping
165165
// and that st1 and st2 are already mapped to threads.
166166
Scop::SyncLevel findBestSync(
167167
detail::ScheduleTree* st1,
@@ -172,7 +172,7 @@ class MappedScop {
172172
// the number of __syncthreads, and then the number of __syncwarp
173173
// bestSync[i][k] == l means that there must be a synchronization at level at
174174
// least l between child i and child i + k.
175-
// if i + k > nChildren, this means that it correspond to synchronizations
175+
// if i + k > nChildren, this means that it corresponds to synchronizations
176176
// between child i and child (i + k) % nChildren at two different iteration
177177
// of the outer sequential member if hasOuterSequentialMember is true.
178178
// However, these cells should still exist if hasOuterSequentialMember is

0 commit comments

Comments
 (0)