projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1fe8f7
)
fix numThreadsMax for OpenMP
author
huangqinjin
<huangqinjin@gmail.com>
Wed, 21 Nov 2018 02:52:50 +0000
(10:52 +0800)
committer
huangqinjin
<huangqinjin@gmail.com>
Wed, 21 Nov 2018 02:54:24 +0000
(10:54 +0800)
introduced by commit
4e629000095779ae8f544ddd4de77633680a3db9
modules/core/src/parallel.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/parallel.cpp
b/modules/core/src/parallel.cpp
index
a32f2f1
..
0745b5a
100644
(file)
--- a/
modules/core/src/parallel.cpp
+++ b/
modules/core/src/parallel.cpp
@@
-427,7
+427,7
@@
static inline int _initMaxThreads()
{
omp_set_dynamic(maxThreads);
}
- return
num
Threads;
+ return
max
Threads;
}
static int numThreadsMax = _initMaxThreads();
#elif defined HAVE_GCD