We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da16129 commit e65b2fcCopy full SHA for e65b2fc
1 file changed
include/opdi/logic/omp/implicitTaskOmpLogic.cpp
@@ -61,6 +61,9 @@ void* opdi::ImplicitTaskOmpLogic::onImplicitTaskBegin(bool initialImplicitTask,
61
// adjoint access mode.
62
if (!initialImplicitTask) {
63
if (index == 0) {
64
+ if (parallelData->maxThreads < actualParallelism) {
65
+ OPDI_ERROR("Actual number of threads exceeds maximum number of threads.");
66
+ }
67
parallelData->actualThreads = actualParallelism;
68
}
69
0 commit comments