Commit e1ac8589 authored by huangqinjin's avatar huangqinjin

fix numThreadsMax for OpenMP

introduced by commit 4e629000
parent a1fe8f75
......@@ -427,7 +427,7 @@ static inline int _initMaxThreads()
{
omp_set_dynamic(maxThreads);
}
return numThreads;
return maxThreads;
}
static int numThreadsMax = _initMaxThreads();
#elif defined HAVE_GCD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment