Merge pull request #13232 from huangqinjin:openmp

pull/13233/head^2
Alexander Alekhin 6 years ago
commit 45d2e18808
  1. 2
      modules/core/src/parallel.cpp

@ -427,7 +427,7 @@ static inline int _initMaxThreads()
{
omp_set_dynamic(maxThreads);
}
return numThreads;
return maxThreads;
}
static int numThreadsMax = _initMaxThreads();
#elif defined HAVE_GCD

Loading…
Cancel
Save