Lines Matching full:sub_id

582   int sub_id[KMP_HW_LAST];  in _set_sub_ids()  local
586 sub_id[i] = -1; in _set_sub_ids()
590 // Setup the sub_id in _set_sub_ids()
593 sub_id[j]++; in _set_sub_ids()
595 sub_id[k] = 0; in _set_sub_ids()
606 hw_thread.sub_ids[j] = sub_id[j]; in _set_sub_ids()
1343 // the running sub_id for the particular core attribute of this hardware in filter_hw_subset()
1361 int sub_id; in filter_hw_subset() local
1365 sub_id = core_type_sub_ids[get_core_type_index(hw_thread)]; in filter_hw_subset()
1367 sub_id = core_eff_sub_ids[get_core_eff_index(hw_thread)]; in filter_hw_subset()
1368 if (sub_id < offset || in filter_hw_subset()
1369 (num != kmp_hw_subset_t::USE_ALL && sub_id >= offset + num)) { in filter_hw_subset()
1374 int sub_id; in filter_hw_subset() local
1378 sub_id = abs_sub_ids[level]; in filter_hw_subset()
1380 sub_id = hw_thread.sub_ids[level]; in filter_hw_subset()
1382 sub_id < offset || in filter_hw_subset()
1383 (num != kmp_hw_subset_t::USE_ALL && sub_id >= offset + num)) { in filter_hw_subset()
1779 // This gets the sub_id for a lower object under a higher object in the
1786 int sub_id = 0; in __kmp_hwloc_get_sub_id() local
1792 sub_id = (int)(RCAST(kmp_intptr_t, obj->userdata)); in __kmp_hwloc_get_sub_id()
1795 sub_id++; in __kmp_hwloc_get_sub_id()
1799 // store sub_id + 1 so that 0 is differed from NULL in __kmp_hwloc_get_sub_id()
1800 lower->userdata = RCAST(void *, sub_id + 1); in __kmp_hwloc_get_sub_id()
1801 return sub_id; in __kmp_hwloc_get_sub_id()
1806 int hw_thread_index, sub_id; in __kmp_affinity_create_hwloc_map() local
1972 sub_id = __kmp_hwloc_get_sub_id(tp, memory, prev); in __kmp_affinity_create_hwloc_map()
1975 hw_thread.ids[index + 1] = sub_id; in __kmp_affinity_create_hwloc_map()
1984 sub_id = __kmp_hwloc_get_sub_id(tp, obj, prev); in __kmp_affinity_create_hwloc_map()
1987 hw_thread.ids[index + 1] = sub_id; in __kmp_affinity_create_hwloc_map()