3535
3636namespace opdi {
3737
38- struct TaskProbe {
38+ struct ImplicitTaskProbe {
3939 public:
4040
4141 void * parallelData;
4242 void * taskData;
4343 bool needsAction;
4444
45- TaskProbe () : parallelData(nullptr ), taskData(nullptr ), needsAction(false ) {}
45+ ImplicitTaskProbe () : parallelData(nullptr ), taskData(nullptr ), needsAction(false ) {}
4646
47- TaskProbe (void * parallelData) : parallelData(parallelData), taskData(nullptr ), needsAction(false ) {}
47+ ImplicitTaskProbe (void * parallelData) : parallelData(parallelData), taskData(nullptr ), needsAction(false ) {}
4848
49- TaskProbe (TaskProbe const & other) : parallelData(other.parallelData), needsAction(true ) {
49+ ImplicitTaskProbe (ImplicitTaskProbe const & other) : parallelData(other.parallelData), needsAction(true ) {
5050
5151 DataTools::pushParallelData (this ->parallelData );
5252 this ->taskData = logic->onImplicitTaskBegin (false , omp_get_num_threads (), omp_get_thread_num (),
@@ -56,7 +56,7 @@ namespace opdi {
5656 assert (ReductionTools::implicitTaskNestingDepth <= omp_get_level ());
5757
5858 if (ReductionTools::implicitTaskNestingDepth != omp_get_level ()) {
59- /* TaskProbe constructor before ReductionProbe constructor (if any) */
59+ /* ImplicitTaskProbe constructor before ReductionProbe constructor (if any) */
6060 do {
6161 ++ReductionTools::implicitTaskNestingDepth;
6262 } while (ReductionTools::implicitTaskNestingDepth != omp_get_level ());
@@ -65,7 +65,7 @@ namespace opdi {
6565 }
6666 }
6767
68- ~TaskProbe () {
68+ ~ImplicitTaskProbe () {
6969 if (needsAction) {
7070 assert (ReductionTools::implicitTaskNestingDepth == omp_get_level ());
7171
@@ -122,7 +122,7 @@ namespace opdi {
122122
123123 if (ReductionTools::implicitTaskNestingDepth != omp_get_level ()) {
124124 /* this condition can only be satisfied by probes on a parallel construct */
125- /* ReductionProbe constructor before TaskProbe constructor */
125+ /* ReductionProbe constructor before ImplicitTaskProbe constructor */
126126 do {
127127 ++ReductionTools::implicitTaskNestingDepth;
128128 } while (ReductionTools::implicitTaskNestingDepth != omp_get_level ());
0 commit comments