inline
int OpenMP::thread_pool_size( int depth )
{
  return depth < 2
         ? thread_pool_size()
         : 1;
}
Example #2
0
 inline static unsigned max_hardware_threads() { return thread_pool_size(0); }
Example #3
0
 inline static unsigned team_max()             { return thread_pool_size(1); }
Example #4
0
 inline static unsigned team_recommended()     { return thread_pool_size(2); }
Example #5
0
int Threads::concurrency() {
  return thread_pool_size(0);
}