reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/openmp/runtime/src/kmp_affinity.cpp
 1195     threadInfo[nApics].osId = i;
 1206     threadInfo[nApics].apicId = (buf.ebx >> 24) & 0xff;
 1207     threadInfo[nApics].maxThreadsPerPkg = (buf.ebx >> 16) & 0xff;
 1208     if (threadInfo[nApics].maxThreadsPerPkg == 0) {
 1209       threadInfo[nApics].maxThreadsPerPkg = 1;
 1221       threadInfo[nApics].maxCoresPerPkg = ((buf.eax >> 26) & 0x3f) + 1;
 1223       threadInfo[nApics].maxCoresPerPkg = 1;
 1227     int widthCT = __kmp_cpuid_mask_width(threadInfo[nApics].maxThreadsPerPkg);
 1228     threadInfo[nApics].pkgId = threadInfo[nApics].apicId >> widthCT;
 1228     threadInfo[nApics].pkgId = threadInfo[nApics].apicId >> widthCT;
 1230     int widthC = __kmp_cpuid_mask_width(threadInfo[nApics].maxCoresPerPkg);
 1244     threadInfo[nApics].coreId = (threadInfo[nApics].apicId >> widthT) & maskC;
 1244     threadInfo[nApics].coreId = (threadInfo[nApics].apicId >> widthT) & maskC;
 1247     threadInfo[nApics].threadId = threadInfo[nApics].apicId & maskT;
 1247     threadInfo[nApics].threadId = threadInfo[nApics].apicId & maskT;
 1249     nApics++;
 1263   KMP_ASSERT(nApics > 0);
 1264   if (nApics == 1) {
 1308   qsort(threadInfo, nApics, sizeof(*threadInfo),
 1340   for (i = 1; i < nApics; i++) {
 1422   for (i = 0; i < nApics; ++i) {
 1441   *address2os = (AddrUnsPair *)__kmp_allocate(sizeof(AddrUnsPair) * nApics);
 1443   for (i = 0; i < nApics; ++i) {
 1476     __kmp_affinity_print_topology(*address2os, nApics, depth, pkgLevel,