Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dompt-specific.h95 kmp_info_t *thr = __kmp_threads[gtid]; in __ompt_load_return_address()
111 ((ompt_enabled.enabled && gtid >= 0 && __kmp_threads[gtid] && \
112 __kmp_threads[gtid]->th.ompt_thread_info.return_address) \
175 if (ompt_enabled.enabled && Gtid >= 0 && __kmp_threads[Gtid] && in OmptReturnAddressGuard()
176 !__kmp_threads[Gtid]->th.ompt_thread_info.return_address) { in OmptReturnAddressGuard()
178 __kmp_threads[Gtid]->th.ompt_thread_info.return_address = ReturnAddress; in OmptReturnAddressGuard()
183 __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()
242 for (tn = __kmp_threads[gtid]->th.th_pri_head; tn; tn = tn->link) { in __kmp_common_destroy_gtid()
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()
[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_csupport.cpp335 kmp_info_t *master_th = __kmp_threads[gtid]; in __kmpc_fork_call()
460 kmp_info_t *thread = __kmp_threads[global_tid]; in __kmpc_set_thread_limit()
505 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_fork_teams()
641 this_thr = __kmp_threads[global_tid]; in __kmpc_end_serialized_parallel()
838 __kmp_threads[global_tid]->th.th_ident = loc; in __kmpc_barrier()
881 kmp_info_t *this_thr = __kmp_threads[global_tid]; in __kmpc_master()
925 kmp_info_t *this_thr = __kmp_threads[global_tid]; in __kmpc_end_master()
971 kmp_info_t *this_thr = __kmp_threads[global_tid]; in __kmpc_masked()
1012 kmp_info_t *this_thr = __kmp_threads[global_tid]; in __kmpc_end_masked()
1053 th = __kmp_threads[gtid]; in __kmpc_ordered()
[all …]
H A Dkmp_runtime.cpp168 other_threads = __kmp_threads; in __kmp_get_global_thread_id()
336 kmp_info_t *f_th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[f]); in __kmp_check_stack_overlap()
657 if (__kmp_threads[gtid]->th.th_root->r.r_active) in __kmp_parallel_deo()
683 if (__kmp_threads[gtid]->th.th_root->r.r_active) in __kmp_parallel_dxo()
711 th = __kmp_threads[gtid]; in __kmp_enter_single()
900 if (TCR_PTR(__kmp_threads[0]) == NULL) { in __kmp_reserve_threads()
1199 this_thr = __kmp_threads[global_tid]; in __kmp_serialized_parallel()
1982 master_th = __kmp_threads[gtid]; in __kmp_fork_call()
2347 KMP_DEBUG_ASSERT(team == __kmp_threads[gtid]->th.th_team); in __kmp_fork_call()
2462 master_th = __kmp_threads[gtid]; in __kmp_join_call()
[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_ftn_entry.h137 team = __kmp_threads[gtid]->th.th_team; in FTN_GET_BLOCKTIME()
247 if (__kmp_threads[gtid]->th.th_team->t.t_level == 0 && in FTN_GET_AFFINITY()
372 thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
392 kmp_info_t *this_thr = __kmp_threads[__kmp_entry_gtid()]; in FTN_CONTROL_TOOL()
650 if (__kmp_threads[gtid]->th.th_team->t.t_level == 0 && in KMP_EXPAND_NAME_IF_APPEND()
684 if (__kmp_threads[gtid]->th.th_team->t.t_level == 0 && in KMP_EXPAND_NAME_IF_APPEND()
769 kmp_info_t *thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
933 thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
973 kmp_info_t *thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
996 kmp_info_t *thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
[all …]
H A Dkmp_dispatch.h331 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_deo()
362 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_dispatch_deo()
407 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_dxo()
433 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_dispatch_dxo()
H A Dkmp_gsupport.cpp225 kmp_info_t *this_thr = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
390 thr = __kmp_threads[*gtid]; in __kmp_GOMP_microtask_wrapper()
436 thr = __kmp_threads[*gtid]; in __kmp_GOMP_parallel_microtask_wrapper()
465 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_GOMP_fork_call()
541 thr = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
683 if (!status && __kmp_threads[gtid]->th.th_dispatch->th_doacross_flags) { \
1273 current_task = __kmp_threads[gtid]->th.th_current_task;
1301 thread = __kmp_threads[gtid];
1530 thr = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
1887 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_GOMP_doacross_post()
[all …]
H A Dkmp_tasking.cpp478 kmp_info_t *thread = __kmp_threads[gtid];
673 kmp_info_t *thread = __kmp_threads[gtid];
725 if (__kmp_threads[gtid]->th.ompt_thread_info.ompt_task_yielded) {
727 __kmp_threads[gtid]->th.ompt_thread_info.ompt_task_yielded = 0;
764 kmp_taskdata_t *current_task = __kmp_threads[gtid]->th.th_current_task;
851 kmp_taskdata_t *current_task = __kmp_threads[gtid]->th.th_current_task;
1024 kmp_info_t *thread = __kmp_threads[gtid];
1446 kmp_info_t *thread = __kmp_threads[gtid];
1592 kmp_info_t *shadow_thread = __kmp_threads[KMP_GTID_TO_SHADOW_GTID(gtid)];
1775 thread = __kmp_threads[gtid];
[all …]
H A Dkmp_barrier.cpp671 team = __kmp_threads[gtid]->th.th_team; in __kmp_linear_barrier_release_template()
750 team = __kmp_threads[gtid]->th.th_team; in __kmp_linear_barrier_release_template()
943 team = __kmp_threads[gtid]->th.th_team; in __kmp_tree_barrier_release()
953 team = __kmp_threads[gtid]->th.th_team; in __kmp_tree_barrier_release()
1146 team = __kmp_threads[gtid]->th.th_team; in __kmp_hyper_barrier_release()
1184 team = __kmp_threads[gtid]->th.th_team; in __kmp_hyper_barrier_release()
1537 team = __kmp_threads[gtid]->th.th_team; in __kmp_hierarchical_barrier_release()
1575 team = __kmp_threads[gtid]->th.th_team; in __kmp_hierarchical_barrier_release()
1774 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_barrier_template()
1954 ident_t *loc = __kmp_threads[gtid]->th.th_ident; in __kmp_barrier_template()
[all …]
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()
113 kmp_info_t *th = __kmp_threads[__kmp_gtid_from_tid((int)id, team)]; in __kmp_initialize_self_buffer()
219 th = __kmp_threads[gtid]; in __kmp_dispatch_init_algorithm()
1002 th = __kmp_threads[gtid]; in __kmp_dispatch_init()
1184 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_finish()
1248 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_finish_chunk()
1337 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_next_algorithm()
2200 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_next()
2482 th = __kmp_threads[gtid]; in __kmpc_sections_init()
[all …]
H A Dkmp_taskdeps.cpp286 sink_data = &__kmp_threads[gtid]->th.ompt_thread_info.task_data; in __kmp_track_dependence()
406 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_dep_all()
466 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_deps()
694 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_task_with_deps()
921 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_taskwait_deps_51()
H A Dkmp_alloc.cpp1785 __kmp_threads[gtid]->th.th_def_allocator = allocator; in __kmpc_set_default_allocator()
1789 return __kmp_threads[gtid]->th.th_def_allocator; in __kmpc_get_default_allocator()
1918 allocator = __kmp_threads[gtid]->th.th_def_allocator; in __kmp_alloc()
1920 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in __kmp_alloc()
1954 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in __kmp_alloc()
1970 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in __kmp_alloc()
2234 allocator = __kmp_threads[gtid]->th.th_def_allocator; in __kmp_calloc()
2313 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in ___kmpc_free()
2338 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in ___kmpc_free()
H A Dkmp.h3631 extern kmp_info_t **__kmp_threads; /* Descriptors for the threads */
3653 #define __kmp_get_team() (__kmp_threads[(__kmp_get_gtid())]->th.th_team)
3660 (__kmp_threads[(gtid)]->th.th_team->t.t_nproc)
3665 return (gtid >= 0 && __kmp_root[gtid] && __kmp_threads[gtid] && in KMP_UBER_GTID()
3666 __kmp_threads[gtid] == __kmp_root[gtid]->r.r_uber_thread); in KMP_UBER_GTID()
3671 return __kmp_threads[gtid]->th.th_info.ds.ds_tid; in __kmp_tid_from_gtid()
3686 return __kmp_threads[gtid]; in __kmp_thread_from_gtid()
3691 return __kmp_threads[gtid]->th.th_team; in __kmp_team_from_gtid()
3784 return __kmp_threads[gtid]; in __kmp_entry_thread()
3986 kmp_root_t *r = __kmp_threads[gtid]->th.th_root; in __kmp_assign_root_init_mask()
[all …]
H A Dkmp_taskdeps.h115 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_release_deps()
H A Dkmp_debugger.cpp69 addr_and_size_of(__kmp_threads),
H A Dkmp_sched.cpp101 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_for_static_init()
541 th = __kmp_threads[gtid]; in __kmp_dist_for_static_init()
816 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.cpp449 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()
491 kmp_info_t *th = __kmp_threads[target_gtid]; in __kmp_resume_template()
731 know the moment of thread termination, and our structures (__kmp_threads in __kmp_runtime_initialize()
926 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_terminate_thread()
H A Dompt-specific.cpp356 return &__kmp_threads[__kmp_get_gtid()]->th.ompt_thread_info.target_task_data; in __ompt_get_target_task_data()
H A Dz_Linux_util.cpp444 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_terminate_thread()
1490 kmp_info_t *th = __kmp_threads[th_gtid]; in __kmp_suspend_template()
1676 kmp_info_t *th = __kmp_threads[target_gtid]; in __kmp_resume_template()
H A Dkmp_affinity.cpp5347 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_set_init_mask()
5441 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_bind_init_mask()
5483 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_bind_place()
5566 th = __kmp_threads[gtid]; in __kmp_aux_set_affinity()
5596 th = __kmp_threads[gtid]; in __kmp_aux_get_affinity()
H A Dkmp_wait_release.h716 kmp_info_t *th = __kmp_threads[th_gtid];

12