Home
last modified time | relevance | path

Searched refs:nProcs (Results 1 – 1 of 1) sorted by relevance

/frameworks/ml/nn/common/
DCpuExecutor.cpp1801 const int nProcs = omp_get_num_procs(); in ScopedOpenmpSettings() local
1802 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()