Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_runtime.cpp97 static int __kmp_expand_threads(int nNeed);
3513 static int __kmp_expand_threads(int nNeed) { in __kmp_expand_threads() argument
3529 if (nNeed) { in __kmp_expand_threads()
3530 nNeed -= added; in __kmp_expand_threads()
3531 if (nNeed < 0) in __kmp_expand_threads()
3532 nNeed = 0; in __kmp_expand_threads()
3535 if (nNeed <= 0) in __kmp_expand_threads()
3559 if (__kmp_sys_max_nth - __kmp_threads_capacity < nNeed) { in __kmp_expand_threads()
3563 minimumRequiredCapacity = __kmp_threads_capacity + nNeed; in __kmp_expand_threads()