Lines Matching defs:sub_id
560 int sub_id[KMP_HW_LAST];
564 sub_id[i] = -1;
568 // Setup the sub_id
571 sub_id[j]++;
573 sub_id[k] = 0;
584 hw_thread.sub_ids[j] = sub_id[j];
1319 // the running sub_id for the particular core attribute of this hardware
1337 int sub_id;
1341 sub_id = core_type_sub_ids[get_core_type_index(hw_thread)];
1343 sub_id = core_eff_sub_ids[get_core_eff_index(hw_thread)];
1344 if (sub_id < offset ||
1345 (num != kmp_hw_subset_t::USE_ALL && sub_id >= offset + num)) {
1350 int sub_id;
1354 sub_id = abs_sub_ids[level];
1356 sub_id = hw_thread.sub_ids[level];
1357 if (sub_id < offset ||
1358 (num != kmp_hw_subset_t::USE_ALL && sub_id >= offset + num)) {
1749 // This gets the sub_id for a lower object under a higher object in the
1756 int sub_id = 0;
1762 sub_id = (int)(RCAST(kmp_intptr_t, obj->userdata));
1765 sub_id++;
1769 // store sub_id + 1 so that 0 is differed from NULL
1770 lower->userdata = RCAST(void *, sub_id + 1);
1771 return sub_id;
1776 int hw_thread_index, sub_id;
1941 sub_id = __kmp_hwloc_get_sub_id(tp, memory, prev);
1944 hw_thread.ids[index + 1] = sub_id;
1954 sub_id = __kmp_hwloc_get_sub_id(tp, obj, prev);
1957 hw_thread.ids[index + 1] = sub_id;