Searched refs:nProcs (Results 1 – 1 of 1) sorted by relevance
1801 const int nProcs = omp_get_num_procs(); in ScopedOpenmpSettings() local1802 int threads = nProcs; in ScopedOpenmpSettings()1803 if (nProcs >= 8) { in ScopedOpenmpSettings()1804 threads = nProcs - 4; in ScopedOpenmpSettings()1805 } else if (nProcs >= 4) { in ScopedOpenmpSettings()1806 threads = nProcs - 2; in ScopedOpenmpSettings()