Lines Matching defs:levels
380 // Do not allow the three main topology levels (sockets, cores, threads) to
910 // Set the number of affinity granularity levels
2683 cpuid_level_info_t levels[INTEL_LEVEL_TYPE_LAST];
2686 // This function takes the topology leaf, an info pointer to store the levels
2696 cpuid_level_info_t(&levels)[INTEL_LEVEL_TYPE_LAST] = info->levels;
2720 levels[levels_index].level_type = level_type;
2721 levels[levels_index].mask_width = mask_width;
2722 levels[levels_index].nitems = nitems;
2727 levels[levels_index - 1].mask_width = mask_width;
2728 levels[levels_index - 1].nitems = nitems;
2744 __kmp_intel_type_2_topology_type(info->levels[i].level_type);
2745 total_description->add(info->levels[i].level_type);
2751 if (levels_index == 0 || levels[0].level_type == INTEL_LEVEL_TYPE_INVALID)
2756 if (levels[i].level_type != INTEL_LEVEL_TYPE_INVALID) {
2757 levels[i].mask = ~((-1) << levels[i].mask_width);
2758 levels[i].cache_mask = (-1) << levels[i].mask_width;
2760 levels[i].mask ^= levels[j].mask;
2763 levels[i].mask = (-1) << levels[i - 1].mask_width;
2764 levels[i].cache_mask = 0;
2766 info->description.add(info->levels[i].level_type);
2777 if (total_description->contains(levels[i].level_type))
2781 __kmp_intel_type_2_topology_type(levels[i].level_type);
2783 // Move over all known levels to make room for new level
2877 if (proc_info[0].levels[i].level_type == INTEL_LEVEL_TYPE_SMT) {
2878 __kmp_nThreadsPerCore = proc_info[0].levels[i].nitems;
2879 } else if (proc_info[0].levels[i].level_type == INTEL_LEVEL_TYPE_CORE) {
2880 nCoresPerPkg = proc_info[0].levels[i].nitems;
2953 hw_thread.ids[idx] = apic_id & proc_info[i].levels[j].mask;
2955 hw_thread.ids[idx] >>= proc_info[i].levels[j - 1].mask_width;
2997 unsigned hw_cache_mask = proc_info[0].levels[j].cache_mask;
3000 proc_info[0].levels[j + 1].level_type);
3713 // counts to 1. At all levels up to and including index, we need to
3813 // Count the number of levels which have more nodes at that level than at the
3816 // which has a sibling. These levels are in the map, and the package level is