@@ -79,7 +79,7 @@ template <typename T, typename ST> struct omptarget_nvptx_LoopSupport {
7979 lb = lb + entityId * chunk;
8080 T inputUb = ub;
8181 ub = lb + chunk - 1 ; // Clang uses i <= ub
82- // Say ub' is the begining of the last chunk. Then who ever has a
82+ // Say ub' is the beginning of the last chunk. Then who ever has a
8383 // lower bound plus a multiple of the increment equal to ub' is
8484 // the last one.
8585 T beginingLastChunk = inputUb - (inputUb % chunk);
@@ -806,7 +806,7 @@ template <typename Ty> class StaticLoopChunker {
806806 NumIters, OneIterationPerThread);
807807 }
808808
809- // / Worksharing `distrbute `-loop.
809+ // / Worksharing `distribute `-loop.
810810 static void Distribute (IdentTy *Loc, void (*LoopBody)(Ty, void *), void *Arg,
811811 Ty NumIters, Ty BlockChunk) {
812812 ASSERT (icv::Level == 0 , " Bad distribute" );
@@ -853,7 +853,7 @@ template <typename Ty> class StaticLoopChunker {
853853 ASSERT (state::ParallelTeamSize == 1 , " Bad distribute" );
854854 }
855855
856- // / Worksharing `distrbute parallel for`-loop.
856+ // / Worksharing `distribute parallel for`-loop.
857857 static void DistributeFor (IdentTy *Loc, void (*LoopBody)(Ty, void *),
858858 void *Arg, Ty NumIters, Ty NumThreads,
859859 Ty BlockChunk, Ty ThreadChunk) {
0 commit comments