Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DCpuExecutor.cpp1930 const int nProcs = omp_get_num_procs(); in ScopedOpenmpSettings() local
1931 int threads = nProcs; in ScopedOpenmpSettings()
1932 if (nProcs >= 8) { in ScopedOpenmpSettings()
1933 threads = nProcs - 4; in ScopedOpenmpSettings()
1934 } else if (nProcs >= 4) { in ScopedOpenmpSettings()
1935 threads = nProcs - 2; in ScopedOpenmpSettings()