Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.cpp5100 int __kmp_nth_per_core = __kmp_avail_proc / __kmp_ncores; in __kmp_balanced_affinity() local
5103 if ((nPackages > 1) && (__kmp_nth_per_core <= 1)) { in __kmp_balanced_affinity()
5104 __kmp_nth_per_core = __kmp_avail_proc / nPackages; in __kmp_balanced_affinity()
5115 threadID = (tid % (chunk + 1)) % __kmp_nth_per_core; in __kmp_balanced_affinity()
5118 threadID = ((tid - big_cores) % chunk) % __kmp_nth_per_core; in __kmp_balanced_affinity()
5128 int osID = address2os[coreID * __kmp_nth_per_core + threadID].second; in __kmp_balanced_affinity()
5131 for (int i = 0; i < __kmp_nth_per_core; i++) { in __kmp_balanced_affinity()
5133 osID = address2os[coreID * __kmp_nth_per_core + i].second; in __kmp_balanced_affinity()