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