Searched refs:th_info (Results 1 – 15 of 15) sorted by relevance
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | z_Windows_NT_util.cpp | 933 if (TerminateThread(th->th.th_info.ds.ds_thread, (DWORD)-1) == FALSE) { in __kmp_terminate_thread() 936 __kmp_free_handle(th->th.th_info.ds.ds_thread); in __kmp_terminate_thread() 997 gtid = this_thr->th.th_info.ds.ds_gtid; in __kmp_launch_worker() 1024 KMP_FSYNC_RELEASING(&this_thr->th.th_info.ds.ds_alive); in __kmp_launch_worker() 1025 this_thr->th.th_info.ds.ds_thread_id = GetCurrentThreadId(); in __kmp_launch_worker() 1026 TCW_4(this_thr->th.th_info.ds.ds_alive, TRUE); in __kmp_launch_worker() 1030 TCW_PTR(this_thr->th.th_info.ds.ds_stackbase, &stack_data); in __kmp_launch_worker() 1031 KMP_ASSERT(this_thr->th.th_info.ds.ds_stackgrow == FALSE); in __kmp_launch_worker() 1036 KMP_FSYNC_RELEASING(&this_thr->th.th_info.ds.ds_alive); in __kmp_launch_worker() 1037 TCW_4(this_thr->th.th_info in __kmp_launch_worker() [all...] |
H A D | z_Linux_util.cpp | 449 status = pthread_cancel(th->th.th_info.ds.ds_thread); in __kmp_terminate_thread() 511 TCW_PTR(th->th.th_info.ds.ds_stackbase, (((char *)addr) + size)); in __kmp_set_stack_info() 512 TCW_PTR(th->th.th_info.ds.ds_stacksize, size); in __kmp_set_stack_info() 513 TCW_4(th->th.th_info.ds.ds_stackgrow, FALSE); in __kmp_set_stack_info() 519 TCW_PTR(th->th.th_info.ds.ds_stacksize, 0); in __kmp_set_stack_info() 520 TCW_PTR(th->th.th_info.ds.ds_stackbase, &stack_data); in __kmp_set_stack_info() 521 TCW_4(th->th.th_info.ds.ds_stackgrow, TRUE); in __kmp_set_stack_info() 537 gtid = ((kmp_info_t *)thr)->th.th_info.ds.ds_gtid; in __kmp_launch_worker() 630 __kmp_set_stack_info(((kmp_info_t *)thr)->th.th_info.ds.ds_gtid, in __kmp_launch_monitor() 782 th->th.th_info.ds.ds_gtid = gtid; in __kmp_create_worker() [all …]
|
H A D | kmp_runtime.cpp | 187 stack_size = (size_t)TCR_PTR(thr->th.th_info.ds.ds_stacksize); in __kmp_get_global_thread_id() 188 stack_base = (char *)TCR_PTR(thr->th.th_info.ds.ds_stackbase); 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() 246 char *stack_end = (char *)other_threads[i]->th.th_info.ds.ds_stackbase; in __kmp_get_global_thread_id() 247 char *stack_beg = stack_end - other_threads[i]->th.th_info.ds.ds_stacksize; in __kmp_get_global_thread_id() [all …]
|
H A D | kmp_wait_release.h | 325 int ds_tid = this_thr->th.th_info.ds.ds_tid; 389 th_gtid = this_thr->th.th_info.ds.ds_gtid; 463 KMP_MASTER_TID(this_thr->th.th_info.ds.ds_tid)) { 549 KMP_DEBUG_ASSERT(!KMP_MASTER_TID(this_thr->th.th_info.ds.ds_tid)); 813 int wait_gtid = waiter->th.th_info.ds.ds_gtid;
|
H A D | ompd-specific.h | 40 OMPD_ACCESS(kmp_base_info_t, th_info) \
|
H A D | kmp_omp.h | 95 offset_and_size_t th_info; // descriptor for thread member
|
H A D | kmp_barrier.cpp | 220 int gtid = other_threads[thr]->th.th_info.ds.ds_gtid; in __kmp_dist_barrier_wakeup() 568 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_linear_barrier_gather_template() 706 gtid, team->t.t_id, tid, other_threads[i]->th.th_info.ds.ds_gtid, in __kmp_linear_barrier_release_template() 811 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_tree_barrier_gather() 1024 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_hyper_barrier_gather() 1380 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_hierarchical_barrier_gather() 2227 int ds_tid = this_thr->th.th_info.ds.ds_tid; in __kmp_join_barrier() 2452 gtid, team->t.t_id, other_threads[i]->th.th_info.ds.ds_gtid, in __kmp_fork_barrier() 2453 team->t.t_id, other_threads[i]->th.th_info.ds.ds_tid, in __kmp_fork_barrier() 2517 int ds_tid = this_thr->th.th_info.ds.ds_tid; in __kmp_fork_barrier()
|
H A D | kmp_dispatch.cpp | 477 team->t.t_threads[i]->th.th_info.ds.ds_tid; in __kmp_dispatch_init_algorithm() 1059 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_init() 1090 (T)th->th.th_info.ds.ds_tid); in __kmp_dispatch_init() 1198 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish() 1261 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish_chunk() 1341 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next_algorithm() 2329 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next() 2345 th->th.th_info.ds.ds_tid); in __kmp_dispatch_next() 2496 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmpc_sections_init() 2570 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmpc_next_section()
|
H A D | kmp_taskdeps.h | 180 next_taskdata->td_alloc_thread->th.th_info.ds.ds_gtid; in __kmp_release_deps()
|
H A D | kmp_debugger.cpp | 91 offset_and_size_of(kmp_base_info_t, th_info),
|
H A D | kmp_tasking.cpp | 1414 thread->th.th_info.ds.ds_gtid, task)); 1529 kmp_int32 tid = thread->th.th_info.ds.ds_tid; 2676 kmp_int32 tid = thread->th.th_info.ds.ds_tid; 3383 tid = thread->th.th_info.ds.ds_tid; 3699 if (i == this_thr->th.th_info.ds.ds_tid) { 4740 __ompt_task_init(taskdata, thread->th.th_info.ds.ds_gtid);
|
H A D | kmp_csupport.cpp | 729 this_thr->th.th_info.ds.ds_tid = serial_team->t.t_master_tid; in __kmpc_end_serialized_parallel() 3588 KMP_DEBUG_ASSERT(!th->th.th_info.ds.ds_tid); // AC: check that tid == 0 in __kmp_swap_teams_for_teams_reduction() 3590 th->th.th_info.ds.ds_tid = team->t.t_master_tid; in __kmp_swap_teams_for_teams_reduction() 3606 th->th.th_info.ds.ds_tid = 0; in __kmp_restore_swapped_teams()
|
H A D | kmp.h | 2941 kmp_desc_t th_info; member 3630 return __kmp_threads[gtid]->th.th_info.ds.ds_tid; in __kmp_tid_from_gtid() 3635 return team->t.t_threads[tid]->th.th_info.ds.ds_gtid; in __kmp_gtid_from_tid() 3640 return thr->th.th_info.ds.ds_gtid; in __kmp_gtid_from_thread()
|
H A D | kmp_dispatch_hier.h | 958 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_init_hierarchy()
|
H A D | kmp_affinity.cpp | 5442 int tid = th->th.th_info.ds.ds_tid; in __kmp_balanced_affinity()
|