Changed default OpenMP threads when mixing with TBB to 1/4 the number of processors instead of 1/2.
parent
45c022a791
commit
55433c13cc
|
|
@ -245,7 +245,7 @@ namespace gtsam {
|
|||
TbbOpenMPMixedScope() :
|
||||
previousOpenMPThreads(omp_get_num_threads())
|
||||
{
|
||||
omp_set_num_threads(omp_get_num_procs() / 2);
|
||||
omp_set_num_threads(omp_get_num_procs() / 4);
|
||||
}
|
||||
|
||||
~TbbOpenMPMixedScope()
|
||||
|
|
|
|||
Loading…
Reference in New Issue