Lines Matching defs:sub_id
582 int sub_id[KMP_HW_LAST];
586 sub_id[i] = -1;
590 // Setup the sub_id
593 sub_id[j]++;
595 sub_id[k] = 0;
606 hw_thread.sub_ids[j] = sub_id[j];
1343 // the running sub_id for the particular core attribute of this hardware
1361 int sub_id;
1365 sub_id = core_type_sub_ids[get_core_type_index(hw_thread)];
1367 sub_id = core_eff_sub_ids[get_core_eff_index(hw_thread)];
1368 if (sub_id < offset ||
1369 (num != kmp_hw_subset_t::USE_ALL && sub_id >= offset + num)) {
1374 int sub_id;
1378 sub_id = abs_sub_ids[level];
1380 sub_id = hw_thread.sub_ids[level];
1382 sub_id < offset ||
1383 (num != kmp_hw_subset_t::USE_ALL && sub_id >= offset + num)) {
1778 // This gets the sub_id for a lower object under a higher object in the
1785 int sub_id = 0;
1791 sub_id = (int)(RCAST(kmp_intptr_t, obj->userdata));
1794 sub_id++;
1798 // store sub_id + 1 so that 0 is differed from NULL
1799 lower->userdata = RCAST(void *, sub_id + 1);
1800 return sub_id;
1805 int hw_thread_index, sub_id;
1971 sub_id = __kmp_hwloc_get_sub_id(tp, memory, prev);
1974 hw_thread.ids[index + 1] = sub_id;
1983 sub_id = __kmp_hwloc_get_sub_id(tp, obj, prev);
1986 hw_thread.ids[index + 1] = sub_id;