Skip to content
Snippets Groups Projects
Commit f3932009 authored by Gitlab CI's avatar Gitlab CI Committed by Simone Sottocornola
Browse files

pre-commit fixes

patch generated by https://gitlab.cern.ch/ssottoco/Gaudi/-/jobs/37094130
parent 45d72adb
Branches rm-zstd-cmake
No related tags found
1 merge request!1567Introduced extra parameter to ThreadPoolSvc initPool to allow increase the max allowed parallelism of TBB.
......@@ -106,8 +106,8 @@ StatusCode ThreadPoolSvc::initPool( const int& poolSize, const int& maxParalleli
// to get the number of threads we need, request one thread more to account for how TBB calculates
// its soft limit of the number of threads for the global thread pool
m_tbbgc =
std::make_unique<tbb::global_control>( tbb::global_control::max_allowed_parallelism, m_threadPoolSize + maxParallelismExtra + 1 );
m_tbbgc = std::make_unique<tbb::global_control>( tbb::global_control::max_allowed_parallelism,
m_threadPoolSize + maxParallelismExtra + 1 );
Gaudi::Concurrency::ConcurrencyFlags::setNumThreads( m_threadPoolSize );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment