We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaa91ab commit 59b889eCopy full SHA for 59b889e
1 file changed
include/opdi/logic/omp/parallelOmpLogic.cpp
@@ -74,8 +74,6 @@ void opdi::ParallelOmpLogic::reverseFunc(void* dataPtr) {
74
data->adjointAccessModes[threadNum][j - 1] == AdjointAccessMode::Atomic);
75
}
76
77
- --ParallelOmpLogic::skipParallelHandling;
78
-
79
tool->setThreadLocalTape(oldTape);
80
81
#if OPDI_OMP_LOGIC_INSTRUMENT
@@ -85,6 +83,8 @@ void opdi::ParallelOmpLogic::reverseFunc(void* dataPtr) {
85
83
#endif
86
84
87
+ --ParallelOmpLogic::skipParallelHandling;
+
88
89
for (auto& instrument : ompLogicInstruments) {
90
instrument->reverseParallelEnd(data);
0 commit comments