Home
last modified time | relevance | path

Searched refs:__kmp_threads (Results 1 – 25 of 25) sorted by relevance

/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dompt-specific.h72 kmp_info_t *thr = __kmp_threads[gtid]; in __ompt_load_return_address()
87 ((ompt_enabled.enabled && gtid >= 0 && __kmp_threads[gtid] && \
88 __kmp_threads[gtid]->th.ompt_thread_info.return_address) \
121 if (ompt_enabled.enabled && Gtid >= 0 && __kmp_threads[Gtid] && in OmptReturnAddressGuard()
122 !__kmp_threads[Gtid]->th.ompt_thread_info.return_address) { in OmptReturnAddressGuard()
124 __kmp_threads[Gtid]->th.ompt_thread_info.return_address = ReturnAddress; in OmptReturnAddressGuard()
129 __kmp_threads[Gtid]->th.ompt_thread_info.return_address = NULL; in ~OmptReturnAddressGuard()
H A Dkmp_threadprivate.cpp180 if (__kmp_threads[gtid]) { in __kmp_common_destroy()
184 __kmp_threads[gtid]->th.th_pri_common, gtid, in __kmp_common_destroy()
199 if (__kmp_threads[gtid]) { in __kmp_common_destroy()
203 __kmp_threads[gtid]->th.th_pri_common, gtid, in __kmp_common_destroy()
276 if (!__kmp_threads[p]) in dump_list()
279 if (__kmp_threads[p]->th.th_pri_common->data[q]) { in dump_list()
284 for (tn = __kmp_threads[p]->th.th_pri_common->data[q]; tn; in dump_list()
300 KMP_DEBUG_ASSERT(__kmp_threads[gtid] && in kmp_threadprivate_insert_private_data()
301 __kmp_threads[gtid]->th.th_root->r.r_active == 0); in kmp_threadprivate_insert_private_data()
447 tn->link = __kmp_threads[gtid]->th.th_pri_head; in kmp_threadprivate_insert()
[all …]
H A Dkmp_error.cpp195 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_parallel()
197 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_push_parallel()
213 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_check_workshare()
215 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_check_workshare()
235 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_workshare()
255 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
342 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
365 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
386 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
413 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
[all …]
H A Dkmp_runtime.cpp147 other_threads = __kmp_threads; in __kmp_get_global_thread_id()
666 th = __kmp_threads[gtid]; in __kmp_enter_single()
2877 thr = __kmp_threads[gtid]; in __kmp_get_ancestor_thread_num()
2935 thr = __kmp_threads[gtid]; in __kmp_get_team_size()
3351 if (__kmp_threads != NULL) { in __kmp_print_structure()
4009 KMP_DEBUG_ASSERT(__kmp_threads && __kmp_threads[gtid]); in __kmp_unregister_root_current_thread()
4047 KMP_DEBUG_ASSERT(__kmp_threads && __kmp_threads[gtid]); in __kmp_unregister_root_other_thread()
7679 if (__kmp_threads[gtid] && in __kmp_internal_join()
7875 __kmp_free(__kmp_threads); in __kmp_cleanup()
7878 __kmp_threads = NULL; in __kmp_cleanup()
[all …]
H A Dkmp_cancel.cpp30 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_cancel()
137 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_cancellationpoint()
245 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_cancel_barrier()
H A Dkmp_csupport.cpp395 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_fork_teams()
531 this_thr = __kmp_threads[global_tid]; in __kmpc_end_serialized_parallel()
752 __kmp_threads[global_tid]->th.th_ident = loc; in __kmpc_barrier()
967 th = __kmp_threads[gtid]; in __kmpc_ordered()
1034 th = __kmp_threads[gtid]; in __kmpc_end_ordered()
2205 __kmp_threads[gtid]->th.th_ident = loc; in __kmpc_copyprivate()
3780 __kmp_threads[global_tid]->th.th_ident = in __kmpc_reduce()
3995 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_doacross_init()
4118 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_doacross_wait()
4230 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_doacross_post()
[all …]
H A Dkmp_dispatch.h323 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_deo()
354 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_dispatch_deo()
399 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_dxo()
425 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_dispatch_dxo()
H A Dkmp_barrier.cpp158 team = __kmp_threads[gtid]->th.th_team; in __kmp_linear_barrier_release_template()
237 team = __kmp_threads[gtid]->th.th_team; in __kmp_linear_barrier_release_template()
430 team = __kmp_threads[gtid]->th.th_team; in __kmp_tree_barrier_release()
440 team = __kmp_threads[gtid]->th.th_team; in __kmp_tree_barrier_release()
633 team = __kmp_threads[gtid]->th.th_team; in __kmp_hyper_barrier_release()
671 team = __kmp_threads[gtid]->th.th_team; in __kmp_hyper_barrier_release()
1024 team = __kmp_threads[gtid]->th.th_team; in __kmp_hierarchical_barrier_release()
1062 team = __kmp_threads[gtid]->th.th_team; in __kmp_hierarchical_barrier_release()
1261 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_barrier_template()
1593 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_end_split_barrier()
[all …]
H A Dkmp_tasking.cpp324 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_push_task()
330 thread = __kmp_threads[gtid]; in __kmp_push_task()
515 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_task_start()
825 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_task_finish()
1191 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_task_alloc()
1509 thread = __kmp_threads[gtid]; in __kmp_invoke_task()
1535 thread = __kmp_threads[gtid]; in __kmp_invoke_task()
1606 thread = __kmp_threads[gtid]; in __kmp_invoke_task()
1877 thread = __kmp_threads[gtid]; in __kmpc_omp_taskwait_template()
2013 thread = __kmp_threads[gtid]; in __kmpc_omp_taskyield()
[all …]
H A Dkmp_gsupport.cpp196 kmp_info_t *this_thr = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
360 thr = __kmp_threads[*gtid]; in __kmp_GOMP_microtask_wrapper()
406 thr = __kmp_threads[*gtid]; in __kmp_GOMP_parallel_microtask_wrapper()
435 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_GOMP_fork_call()
511 thr = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
1271 thread = __kmp_threads[gtid];
1828 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_GOMP_doacross_post()
1851 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_GOMP_doacross_wait()
2054 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_GOMP_init_reductions()
2092 kmp_info_t *thr = __kmp_threads[*gtid]; in __kmp_GOMP_par_reductions_microtask_wrapper()
[all …]
H A Dkmp_taskdeps.cpp233 sink_data = &__kmp_threads[gtid]->th.ompt_thread_info.task_data; in __kmp_track_dependence()
302 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_deps()
518 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_task_with_deps()
679 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_wait_deps()
H A Dkmp_ftn_entry.h135 team = __kmp_threads[gtid]->th.th_team; in FTN_GET_BLOCKTIME()
363 thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
378 kmp_info_t *this_thr = __kmp_threads[__kmp_entry_gtid()]; in FTN_CONTROL_TOOL()
774 thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
H A Dkmp_taskdeps.h90 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_release_deps()
H A Dkmp.h3165 extern kmp_info_t **__kmp_threads; /* Descriptors for the threads */
3185 #define __kmp_get_team() (__kmp_threads[(__kmp_get_gtid())]->th.th_team)
3192 (__kmp_threads[(gtid)]->th.th_team->t.t_nproc)
3197 return (gtid >= 0 && __kmp_root[gtid] && __kmp_threads[gtid] && in KMP_UBER_GTID()
3198 __kmp_threads[gtid] == __kmp_root[gtid]->r.r_uber_thread); in KMP_UBER_GTID()
3203 return __kmp_threads[gtid]->th.th_info.ds.ds_tid; in __kmp_tid_from_gtid()
3218 return __kmp_threads[gtid]; in __kmp_thread_from_gtid()
3223 return __kmp_threads[gtid]->th.th_team; in __kmp_team_from_gtid()
3306 return __kmp_threads[gtid]; in __kmp_entry_thread()
3501 kmp_root_t *r = __kmp_threads[gtid]->th.th_root; in __kmp_assign_root_init_mask()
[all …]
H A Dkmp_alloc.cpp1473 __kmp_threads[gtid]->th.th_def_allocator = allocator; in __kmpc_set_default_allocator()
1477 return __kmp_threads[gtid]->th.th_def_allocator; in __kmpc_get_default_allocator()
1498 allocator = __kmp_threads[gtid]->th.th_def_allocator; in __kmpc_alloc()
1580 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in __kmpc_alloc()
1602 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in __kmpc_alloc()
1667 allocator = __kmp_threads[gtid]->th.th_def_allocator; in __kmpc_calloc()
1750 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in __kmpc_free()
H A Dkmp_dispatch.cpp48 th = __kmp_threads[*gtid_ref]; in __kmp_dispatch_deo_error()
64 th = __kmp_threads[*gtid_ref]; in __kmp_dispatch_dxo_error()
155 th = __kmp_threads[gtid]; in __kmp_dispatch_init_algorithm()
838 th = __kmp_threads[gtid]; in __kmp_dispatch_init()
1019 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_finish()
1083 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_finish_chunk()
1172 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_next_algorithm()
2022 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_next()
2316 th = __kmp_threads[gtid]; in __kmp_dist_get_bounds()
H A Dkmp_debugger.cpp69 addr_and_size_of(__kmp_threads),
H A Dkmp_sched.cpp95 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_for_static_init()
500 th = __kmp_threads[gtid]; in __kmp_dist_for_static_init()
743 th = __kmp_threads[gtid]; in __kmp_team_static_init()
H A Dkmp_dispatch_hier.h482 kmp_info_t *th = __kmp_threads[gtid]; in next_recurse()
716 kmp_info_t *th = __kmp_threads[gtid]; in next()
952 th = __kmp_threads[gtid]; in __kmp_dispatch_init_hierarchy()
H A Dkmp_global.cpp435 kmp_info_t **__kmp_threads = NULL; variable
H A Dz_Windows_NT_util.cpp363 kmp_info_t *th = __kmp_threads[th_gtid]; in __kmp_suspend_template()
468 kmp_info_t *th = __kmp_threads[target_gtid]; in __kmp_resume_template()
891 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_terminate_thread()
H A Dz_Linux_util.cpp389 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_terminate_thread()
1393 kmp_info_t *th = __kmp_threads[th_gtid]; in __kmp_suspend_template()
1542 kmp_info_t *th = __kmp_threads[target_gtid]; in __kmp_resume_template()
H A Dkmp_affinity.cpp3931 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_set_init_mask()
4044 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_set_place()
4127 th = __kmp_threads[gtid]; in __kmp_aux_set_affinity()
4155 th = __kmp_threads[gtid]; in __kmp_aux_get_affinity()
H A Dkmp_wait_release.h519 kmp_info_t *th = __kmp_threads[th_gtid]; in __kmp_mwait_template()
H A Dkmp_lock.cpp1052 t = __kmp_threads[lck->lk.head_id - 1]->th.th_next_waiting; in __kmp_dump_queuing_lock()
1055 t = __kmp_threads[t - 1]->th.th_next_waiting; in __kmp_dump_queuing_lock()