| /freebsd-12.1/contrib/openmp/runtime/src/ |
| H A D | kmp_threadprivate.cpp | 182 if (__kmp_threads[gtid]) { in __kmp_common_destroy() 186 __kmp_threads[gtid]->th.th_pri_common, gtid, in __kmp_common_destroy() 201 if (__kmp_threads[gtid]) { in __kmp_common_destroy() 205 __kmp_threads[gtid]->th.th_pri_common, gtid, in __kmp_common_destroy() 279 if (!__kmp_threads[p]) in dump_list() 282 if (__kmp_threads[p]->th.th_pri_common->data[q]) { in dump_list() 287 for (tn = __kmp_threads[p]->th.th_pri_common->data[q]; tn; in dump_list() 303 KMP_DEBUG_ASSERT(__kmp_threads[gtid] && in kmp_threadprivate_insert_private_data() 304 __kmp_threads[gtid]->th.th_root->r.r_active == 0); in kmp_threadprivate_insert_private_data() 450 tn->link = __kmp_threads[gtid]->th.th_pri_head; in kmp_threadprivate_insert() [all …]
|
| H A D | ompt-specific.h | 70 kmp_info_t *thr = __kmp_threads[gtid]; in __ompt_load_return_address() 77 if (ompt_enabled.enabled && gtid >= 0 && __kmp_threads[gtid] && \ 78 !__kmp_threads[gtid]->th.ompt_thread_info.return_address) \ 79 __kmp_threads[gtid]->th.ompt_thread_info.return_address = \
|
| H A D | kmp_error.cpp | 192 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_parallel() 194 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_push_parallel() 210 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_check_workshare() 212 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_check_workshare() 234 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_workshare() 254 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; 349 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; 372 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; 393 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; 421 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; [all …]
|
| H A D | kmp_runtime.cpp | 142 other_threads = __kmp_threads; in __kmp_get_global_thread_id() 582 if (!__kmp_threads) in __kmp_reset_locks_on_process_detach() 755 th = __kmp_threads[gtid]; in __kmp_enter_single() 2907 thr = __kmp_threads[gtid]; in __kmp_get_ancestor_thread_num() 2967 thr = __kmp_threads[gtid]; in __kmp_get_team_size() 3997 KMP_DEBUG_ASSERT(__kmp_threads && __kmp_threads[gtid]); in __kmp_unregister_root_current_thread() 4043 KMP_DEBUG_ASSERT(__kmp_threads && __kmp_threads[gtid]); in __kmp_unregister_root_other_thread() 7255 if (__kmp_threads[gtid] && in __kmp_internal_join() 7448 __kmp_free(__kmp_threads); in __kmp_cleanup() 7451 __kmp_threads = NULL; in __kmp_cleanup() [all …]
|
| H A D | kmp_cancel.cpp | 33 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_cancel() 140 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_cancellationpoint() 248 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_cancel_barrier()
|
| H A D | kmp_csupport.cpp | 382 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_fork_teams() 488 this_thr = __kmp_threads[global_tid]; in __kmpc_end_serialized_parallel() 716 __kmp_threads[global_tid]->th.th_ident = loc; in __kmpc_barrier() 842 th = __kmp_threads[gtid]; in __kmpc_ordered() 908 th = __kmp_threads[gtid]; in __kmpc_end_ordered() 2076 __kmp_threads[gtid]->th.th_ident = loc; in __kmpc_copyprivate() 3647 __kmp_threads[global_tid]->th.th_ident = in __kmpc_reduce() 3866 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_doacross_init() 3986 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_doacross_wait() 4079 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_doacross_post() [all …]
|
| H A D | kmp_taskq.cpp | 36 kmp_taskq_t *tq = &__kmp_threads[gtid]->th.th_team->t.t_taskq; in __kmp_taskq_eo() 45 if (!__kmp_threads[gtid]->th.th_team->t.t_serialized) { in __kmp_taskq_eo() 64 kmp_taskq_t *tq = &__kmp_threads[gtid]->th.th_team->t.t_taskq; in __kmp_taskq_xo() 69 if (!__kmp_threads[gtid]->th.th_team->t.t_serialized) { in __kmp_taskq_xo() 144 int nproc = __kmp_threads[global_tid]->th.th_team->t.t_nproc; in __kmp_dump_thunk() 1318 th = __kmp_threads[global_tid]; in __kmpc_taskq() 1529 tq = &__kmp_threads[global_tid]->th.th_team->t.t_taskq; in __kmpc_end_taskq() 1746 th = __kmp_threads[global_tid]; in __kmpc_end_taskq() 1814 tq = &__kmp_threads[global_tid]->th.th_team->t.t_taskq; in __kmpc_task() 1912 tq = &__kmp_threads[global_tid]->th.th_team->t.t_taskq; in __kmpc_end_taskq_task() [all …]
|
| H A D | kmp_dispatch.h | 332 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_deo() 363 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_dispatch_deo() 408 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_dxo() 434 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_dispatch_dxo()
|
| H A D | kmp_tasking.cpp | 329 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_push_task() 499 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_task_start() 817 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_task_finish() 1166 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_task_alloc() 1466 thread = __kmp_threads[gtid]; in __kmp_invoke_task() 1491 thread = __kmp_threads[gtid]; in __kmp_invoke_task() 1558 thread = __kmp_threads[gtid]; in __kmp_invoke_task() 1838 thread = __kmp_threads[gtid]; in __kmpc_omp_taskwait_template() 1968 thread = __kmp_threads[gtid]; in __kmpc_omp_taskyield() 2061 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_task_reduction_init() [all …]
|
| H A D | kmp_barrier.cpp | 155 team = __kmp_threads[gtid]->th.th_team; in __kmp_linear_barrier_release() 230 team = __kmp_threads[gtid]->th.th_team; in __kmp_linear_barrier_release() 398 team = __kmp_threads[gtid]->th.th_team; in __kmp_tree_barrier_release() 408 team = __kmp_threads[gtid]->th.th_team; in __kmp_tree_barrier_release() 603 team = __kmp_threads[gtid]->th.th_team; in __kmp_hyper_barrier_release() 642 team = __kmp_threads[gtid]->th.th_team; in __kmp_hyper_barrier_release() 1004 team = __kmp_threads[gtid]->th.th_team; in __kmp_hierarchical_barrier_release() 1043 team = __kmp_threads[gtid]->th.th_team; in __kmp_hierarchical_barrier_release() 1223 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_barrier() 1517 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_end_split_barrier() [all …]
|
| H A D | kmp_gsupport.cpp | 129 kmp_info_t *this_thr = __kmp_threads[gtid]; in KMP_EXPAND_NAME() 292 thr = __kmp_threads[*gtid]; in __kmp_GOMP_microtask_wrapper() 338 thr = __kmp_threads[*gtid]; in __kmp_GOMP_parallel_microtask_wrapper() 370 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_GOMP_fork_call() 460 thr = __kmp_threads[gtid]; in KMP_EXPAND_NAME() 593 if (!status && __kmp_threads[gtid]->th.th_dispatch->th_doacross_flags) { \ 1166 current_task = __kmp_threads[gtid]->th.th_current_task; 1197 thread = __kmp_threads[gtid]; 1774 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_GOMP_doacross_post() 1797 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_GOMP_doacross_wait()
|
| H A D | kmp_taskdeps.cpp | 245 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_deps() 463 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_task_with_deps() 618 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_wait_deps()
|
| H A D | kmp_taskdeps.h | 92 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_release_deps()
|
| H A D | kmp_dispatch.cpp | 49 th = __kmp_threads[*gtid_ref]; in __kmp_dispatch_deo_error() 65 th = __kmp_threads[*gtid_ref]; in __kmp_dispatch_dxo_error() 116 th = __kmp_threads[gtid]; in __kmp_dispatch_init_algorithm() 760 th = __kmp_threads[gtid]; in __kmp_dispatch_init() 966 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_finish() 1029 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_finish_chunk() 1120 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_next_algorithm() 1870 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_next() 2157 th = __kmp_threads[gtid]; in __kmp_dist_get_bounds()
|
| H A D | kmp.h | 3095 extern kmp_info_t **__kmp_threads; /* Descriptors for the threads */ 3116 #define __kmp_get_team() (__kmp_threads[(__kmp_get_gtid())]->th.th_team) 3123 (__kmp_threads[(gtid)]->th.th_team->t.t_nproc) 3128 return (gtid >= 0 && __kmp_root[gtid] && __kmp_threads[gtid] && in KMP_UBER_GTID() 3129 __kmp_threads[gtid] == __kmp_root[gtid]->r.r_uber_thread); in KMP_UBER_GTID() 3134 return __kmp_threads[gtid]->th.th_info.ds.ds_tid; in __kmp_tid_from_gtid() 3149 return __kmp_threads[gtid]; in __kmp_thread_from_gtid() 3154 return __kmp_threads[gtid]->th.th_team; in __kmp_team_from_gtid() 3225 return __kmp_threads[gtid]; in __kmp_entry_thread()
|
| H A D | kmp_ftn_entry.h | 130 team = __kmp_threads[gtid]->th.th_team; in FTN_GET_BLOCKTIME() 346 thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME() 362 kmp_info_t *this_thr = __kmp_threads[__kmp_entry_gtid()]; in FTN_CONTROL_TOOL()
|
| H A D | kmp_sched.cpp | 66 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_for_static_init() 470 th = __kmp_threads[gtid]; in __kmp_dist_for_static_init() 713 th = __kmp_threads[gtid]; in __kmp_team_static_init()
|
| H A D | kmp_debugger.cpp | 70 addr_and_size_of(__kmp_threads),
|
| H A D | kmp_dispatch_hier.h | 466 kmp_info_t *th = __kmp_threads[gtid]; in next_recurse() 697 kmp_info_t *th = __kmp_threads[gtid]; in next() 927 th = __kmp_threads[gtid]; in __kmp_dispatch_init_hierarchy()
|
| H A D | z_Windows_NT_util.cpp | 307 kmp_info_t *th = __kmp_threads[th_gtid]; in __kmp_suspend_template() 403 kmp_info_t *th = __kmp_threads[target_gtid]; in __kmp_resume_template() 821 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_terminate_thread()
|
| H A D | kmp_global.cpp | 422 kmp_info_t **__kmp_threads = NULL; variable
|
| H A D | kmp_alloc.cpp | 1289 __kmp_threads[gtid]->th.th_def_allocator = allocator; in __kmpc_set_default_allocator() 1292 return __kmp_threads[gtid]->th.th_def_allocator; in __kmpc_get_default_allocator() 1306 allocator = __kmp_threads[gtid]->th.th_def_allocator; in __kmpc_alloc()
|
| H A D | z_Linux_util.cpp | 428 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_terminate_thread() 1422 kmp_info_t *th = __kmp_threads[th_gtid]; in __kmp_suspend_template() 1562 kmp_info_t *th = __kmp_threads[target_gtid]; in __kmp_resume_template()
|
| H A D | kmp_affinity.cpp | 4722 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_set_init_mask() 4841 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_set_place() 4925 th = __kmp_threads[gtid]; in __kmp_aux_set_affinity() 4955 th = __kmp_threads[gtid]; in __kmp_aux_get_affinity()
|
| H A D | kmp_lock.cpp | 1077 t = __kmp_threads[lck->lk.head_id - 1]->th.th_next_waiting; in __kmp_dump_queuing_lock() 1080 t = __kmp_threads[t - 1]->th.th_next_waiting; in __kmp_dump_queuing_lock()
|