Home
last modified time | relevance | path

Searched refs:tlevel (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp3888 int tlevel = __kmp_topology->get_level(KMP_HW_THREAD); in __kmp_affinity_create_cpuinfo_map() local
3889 if (tlevel > 0) { in __kmp_affinity_create_cpuinfo_map()
3891 if (__kmp_topology->at(0).ids[tlevel] == kmp_hw_thread_t::UNKNOWN_ID) { in __kmp_affinity_create_cpuinfo_map()
3892 __kmp_topology->at(0).ids[tlevel] = 0; in __kmp_affinity_create_cpuinfo_map()
3896 if (hw_thread.ids[tlevel] != kmp_hw_thread_t::UNKNOWN_ID) in __kmp_affinity_create_cpuinfo_map()
3902 for (int j = 0; j < tlevel; ++j) { in __kmp_affinity_create_cpuinfo_map()
3904 hw_thread.ids[tlevel] = 0; in __kmp_affinity_create_cpuinfo_map()
3908 if (hw_thread.ids[tlevel] == kmp_hw_thread_t::UNKNOWN_ID) in __kmp_affinity_create_cpuinfo_map()
3909 hw_thread.ids[tlevel] = prev_hw_thread.ids[tlevel] + 1; in __kmp_affinity_create_cpuinfo_map()
H A Dkmp_runtime.cpp2495 int tlevel = master_th->th.th_teams_level; in __kmp_join_call() local
2496 if (level == tlevel) { in __kmp_join_call()
2500 } else if (level == tlevel + 1) { in __kmp_join_call()
3080 int tlevel = thr->th.th_teams_level; // the level of the teams construct in __kmp_get_ancestor_thread_num() local
3082 tlevel) { // otherwise usual algorithm works (will not touch the teams) in __kmp_get_ancestor_thread_num()
3083 KMP_DEBUG_ASSERT(ii >= tlevel); in __kmp_get_ancestor_thread_num()
3086 if (ii == tlevel) { in __kmp_get_ancestor_thread_num()
3138 int tlevel = thr->th.th_teams_level; // the level of the teams construct in __kmp_get_team_size() local
3140 tlevel) { // otherwise usual algorithm works (will not touch the teams) in __kmp_get_team_size()
3141 KMP_DEBUG_ASSERT(ii >= tlevel); in __kmp_get_team_size()
[all …]