mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
parent
a1fe8f754f
commit
e1ac8589f8
@ -427,7 +427,7 @@ static inline int _initMaxThreads()
|
|||||||
{
|
{
|
||||||
omp_set_dynamic(maxThreads);
|
omp_set_dynamic(maxThreads);
|
||||||
}
|
}
|
||||||
return numThreads;
|
return maxThreads;
|
||||||
}
|
}
|
||||||
static int numThreadsMax = _initMaxThreads();
|
static int numThreadsMax = _initMaxThreads();
|
||||||
#elif defined HAVE_GCD
|
#elif defined HAVE_GCD
|
||||||
|
Loading…
Reference in New Issue
Block a user