Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.cpp217 kmp_info_t **other_threads = team->t.t_threads; in __kmp_dist_barrier_wakeup() local
219 KMP_DEBUG_ASSERT(other_threads[thr]); in __kmp_dist_barrier_wakeup()
220 int gtid = other_threads[thr]->th.th_info.ds.ds_gtid; in __kmp_dist_barrier_wakeup()
232 kmp_info_t **other_threads; in __kmp_dist_barrier_gather() local
239 other_threads = team->t.t_threads; in __kmp_dist_barrier_gather()
305 other_threads[thr]->th.th_local.reduce_data); in __kmp_dist_barrier_gather()
355 other_threads[thr]->th.th_local.reduce_data); in __kmp_dist_barrier_gather()
562 kmp_info_t **other_threads = team->t.t_threads; in __kmp_linear_barrier_gather_template() local
568 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_linear_barrier_gather_template()
590 kmp_flag_64<> flag(&thr_bar->b_arrived, other_threads[0]); in __kmp_linear_barrier_gather_template()
[all …]
H A Dkmp_runtime.cpp136 kmp_info_t **other_threads; in __kmp_get_global_thread_id() local
168 other_threads = __kmp_threads; in __kmp_get_global_thread_id()
183 kmp_info_t *thr = (kmp_info_t *)TCR_SYNC_PTR(other_threads[i]); in __kmp_get_global_thread_id()
224 if (!TCR_SYNC_PTR(other_threads[i])) in __kmp_get_global_thread_id()
229 if (!TCR_4(other_threads[i]->th.th_info.ds.ds_stackgrow)) { in __kmp_get_global_thread_id()
233 stack_base = (char *)other_threads[i]->th.th_info.ds.ds_stackbase; in __kmp_get_global_thread_id()
235 TCW_PTR(other_threads[i]->th.th_info.ds.ds_stackbase, stack_addr); in __kmp_get_global_thread_id()
236 TCW_PTR(other_threads[i]->th.th_info.ds.ds_stacksize, in __kmp_get_global_thread_id()
237 other_threads[i]->th.th_info.ds.ds_stacksize + stack_addr - in __kmp_get_global_thread_id()
240 TCW_PTR(other_threads[i]->th.th_info.ds.ds_stacksize, in __kmp_get_global_thread_id()
[all …]