Searched refs:nProcs (Results 1 – 1 of 1) sorted by relevance
1884 const int nProcs = omp_get_num_procs(); in ScopedOpenmpSettings() local1885 int threads = nProcs; in ScopedOpenmpSettings()1886 if (nProcs >= 8) { in ScopedOpenmpSettings()1887 threads = nProcs - 4; in ScopedOpenmpSettings()1888 } else if (nProcs >= 4) { in ScopedOpenmpSettings()1889 threads = nProcs - 2; in ScopedOpenmpSettings()