Skip to content

Commit 5cf7c84

Browse files
committed
Update comments.
1 parent 273e08d commit 5cf7c84

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

include/opdi/logic/omp/implicitTaskOmpLogic.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ void* opdi::ImplicitTaskOmpLogic::onImplicitTaskBegin(bool initialImplicitTask,
5656
data->level = omp_get_level();
5757
data->index = index;
5858

59-
// OpDiLib does not interfere with the initial implicit task AD-wise, e.g., does not track its tape / does not assume
60-
// that the tape does not change. OpDiLib uses the initial implicit task's data primarily to track its adjoint access
61-
// mode.
59+
// OpDiLib does not interfere with the initial implicit task AD-wise, e.g., does not track its tape / does not
60+
// assume that the tape does not change. OpDiLib uses the initial implicit task's data primarily to track its
61+
// adjoint access mode.
6262
if (!initialImplicitTask) {
6363
if (index == 0) {
6464
parallelData->actualThreads = actualParallelism;

include/opdi/logic/omp/parallelOmpLogic.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ namespace opdi {
4444
int maxThreads;
4545
int actualThreads;
4646
bool activeParallelRegion;
47-
void* parentTask; // ParallelOmpLogic::Data of parent task
47+
void* parentTask; // ImplicitTaskOmpLogic::Data of parent task
4848
void* parentTape;
4949
AdjointAccessMode parentAdjointAccessMode;
5050
std::vector<void*> childTasks; // ImplicitTaskOmpLogic::Data of child tasks

0 commit comments

Comments
 (0)