Home
last modified time | relevance | path

Searched refs:th_local (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_alloc.cpp231 data = (thr_data_t *)((!th->th.th_local.bget_data) in set_thr_data()
233 : th->th.th_local.bget_data); in set_thr_data()
242 th->th.th_local.bget_data = data; in set_thr_data()
243 th->th.th_local.bget_list = 0; in set_thr_data()
246 __kmp_init_lock(&th->th.th_local.bget_lock); in set_thr_data()
248 __kmp_init_bootstrap_lock(&th->th.th_local.bget_lock); in set_thr_data()
256 data = (thr_data_t *)th->th.th_local.bget_data; in get_thr_data()
265 void *p = TCR_SYNC_PTR(th->th.th_local.bget_list); in __kmp_bget_dequeue()
270 volatile void *old_value = TCR_SYNC_PTR(th->th.th_local.bget_list); in __kmp_bget_dequeue()
271 while (!KMP_COMPARE_AND_STORE_PTR(&th->th.th_local.bget_list, in __kmp_bget_dequeue()
[all …]
Dkmp_barrier.cpp131 (*reduce)(this_thr->th.th_local.reduce_data, in __kmp_linear_barrier_gather_template()
132 other_threads[i]->th.th_local.reduce_data); in __kmp_linear_barrier_gather_template()
359 (*reduce)(this_thr->th.th_local.reduce_data, in __kmp_tree_barrier_gather()
360 child_thr->th.th_local.reduce_data); in __kmp_tree_barrier_gather()
609 (*reduce)(this_thr->th.th_local.reduce_data, in __kmp_hyper_barrier_gather()
610 child_thr->th.th_local.reduce_data); in __kmp_hyper_barrier_gather()
932 (*reduce)(this_thr->th.th_local.reduce_data, in __kmp_hierarchical_barrier_gather()
933 other_threads[child_tid]->th.th_local.reduce_data); in __kmp_hierarchical_barrier_gather()
968 (*reduce)(this_thr->th.th_local.reduce_data, in __kmp_hierarchical_barrier_gather()
969 child_thr->th.th_local.reduce_data); in __kmp_hierarchical_barrier_gather()
[all …]
Dkmp_runtime.cpp468 __kmp_print_storage_map_gtid(gtid, &thr->th.th_local, &thr->th.th_pri_head, in __kmp_print_thread_storage_map()
735 kmp_int32 old_this = th->th.th_local.this_construct; in __kmp_enter_single()
737 ++th->th.th_local.this_construct; in __kmp_enter_single()
743 th->th.th_local.this_construct); in __kmp_enter_single()
1445 master_this_cons = master_th->th.th_local.this_construct; in __kmp_fork_call()
2474 master_th->th.th_local.this_construct = team->t.t_master_this_cons; in __kmp_join_call()
3716 KMP_DEBUG_ASSERT(root_thread->th.th_local.bget_data == NULL); in __kmp_register_root()
4090 this_thr->th.th_local.this_construct = 0; in __kmp_initialize_info()
4375 KMP_DEBUG_ASSERT(new_thr->th.th_local.bget_data == NULL); in __kmp_allocate_thread()
5957 if (thread->th.th_local.bget_data != NULL) { in __kmp_reap_thread()
[all …]
Dkmp_csupport.cpp3186 ((__kmp_threads[(gtid)]->th.th_local.packed_reduction_method) = (rmethod))
3189 (__kmp_threads[(gtid)]->th.th_local.packed_reduction_method)
Dkmp.h2565 kmp_local_t th_local; member