Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.cpp1194 unsigned nApics = 0; in __kmp_affinity_create_apicid_map() local
1200 KMP_DEBUG_ASSERT((int)nApics < __kmp_avail_proc); in __kmp_affinity_create_apicid_map()
1203 threadInfo[nApics].osId = i; in __kmp_affinity_create_apicid_map()
1214 threadInfo[nApics].apicId = (buf.ebx >> 24) & 0xff; in __kmp_affinity_create_apicid_map()
1215 threadInfo[nApics].maxThreadsPerPkg = (buf.ebx >> 16) & 0xff; in __kmp_affinity_create_apicid_map()
1216 if (threadInfo[nApics].maxThreadsPerPkg == 0) { in __kmp_affinity_create_apicid_map()
1217 threadInfo[nApics].maxThreadsPerPkg = 1; in __kmp_affinity_create_apicid_map()
1229 threadInfo[nApics].maxCoresPerPkg = ((buf.eax >> 26) & 0x3f) + 1; in __kmp_affinity_create_apicid_map()
1231 threadInfo[nApics].maxCoresPerPkg = 1; in __kmp_affinity_create_apicid_map()
1235 int widthCT = __kmp_cpuid_mask_width(threadInfo[nApics].maxThreadsPerPkg); in __kmp_affinity_create_apicid_map()
[all …]