Home
last modified time | relevance | path

Searched refs:th_info (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dz_Windows_NT_util.cpp891 if (TerminateThread(th->th.th_info.ds.ds_thread, (DWORD)-1) == FALSE) { in __kmp_terminate_thread()
894 __kmp_free_handle(th->th.th_info.ds.ds_thread); in __kmp_terminate_thread()
961 gtid = this_thr->th.th_info.ds.ds_gtid; in __kmp_launch_worker()
987 KMP_FSYNC_RELEASING(&this_thr->th.th_info.ds.ds_alive); in __kmp_launch_worker()
988 this_thr->th.th_info.ds.ds_thread_id = GetCurrentThreadId(); in __kmp_launch_worker()
989 TCW_4(this_thr->th.th_info.ds.ds_alive, TRUE); in __kmp_launch_worker()
993 TCW_PTR(this_thr->th.th_info.ds.ds_stackbase, &stack_data); in __kmp_launch_worker()
994 KMP_ASSERT(this_thr->th.th_info.ds.ds_stackgrow == FALSE); in __kmp_launch_worker()
999 KMP_FSYNC_RELEASING(&this_thr->th.th_info.ds.ds_alive); in __kmp_launch_worker()
1000 TCW_4(this_thr->th.th_info.ds.ds_alive, FALSE); in __kmp_launch_worker()
[all …]
Dz_Linux_util.cpp459 status = pthread_cancel(th->th.th_info.ds.ds_thread); in __kmp_terminate_thread()
508 TCW_PTR(th->th.th_info.ds.ds_stackbase, (((char *)addr) + size)); in __kmp_set_stack_info()
509 TCW_PTR(th->th.th_info.ds.ds_stacksize, size); in __kmp_set_stack_info()
510 TCW_4(th->th.th_info.ds.ds_stackgrow, FALSE); in __kmp_set_stack_info()
516 TCW_PTR(th->th.th_info.ds.ds_stacksize, 0); in __kmp_set_stack_info()
517 TCW_PTR(th->th.th_info.ds.ds_stackbase, &stack_data); in __kmp_set_stack_info()
518 TCW_4(th->th.th_info.ds.ds_stackgrow, TRUE); in __kmp_set_stack_info()
534 gtid = ((kmp_info_t *)thr)->th.th_info.ds.ds_gtid; in __kmp_launch_worker()
626 __kmp_set_stack_info(((kmp_info_t *)thr)->th.th_info.ds.ds_gtid, in __kmp_launch_monitor()
778 th->th.th_info.ds.ds_gtid = gtid; in __kmp_create_worker()
[all …]
Dkmp_runtime.cpp160 stack_size = (size_t)TCR_PTR(thr->th.th_info.ds.ds_stacksize); in __kmp_get_global_thread_id()
161 stack_base = (char *)TCR_PTR(thr->th.th_info.ds.ds_stackbase); in __kmp_get_global_thread_id()
191 if (!TCR_4(other_threads[i]->th.th_info.ds.ds_stackgrow)) { in __kmp_get_global_thread_id()
195 stack_base = (char *)other_threads[i]->th.th_info.ds.ds_stackbase; in __kmp_get_global_thread_id()
197 TCW_PTR(other_threads[i]->th.th_info.ds.ds_stackbase, stack_addr); in __kmp_get_global_thread_id()
198 TCW_PTR(other_threads[i]->th.th_info.ds.ds_stacksize, in __kmp_get_global_thread_id()
199 other_threads[i]->th.th_info.ds.ds_stacksize + stack_addr - in __kmp_get_global_thread_id()
202 TCW_PTR(other_threads[i]->th.th_info.ds.ds_stacksize, in __kmp_get_global_thread_id()
208 char *stack_end = (char *)other_threads[i]->th.th_info.ds.ds_stackbase; in __kmp_get_global_thread_id()
209 char *stack_beg = stack_end - other_threads[i]->th.th_info.ds.ds_stacksize; in __kmp_get_global_thread_id()
[all …]
Dkmp_wait_release.h133 int ds_tid = this_thr->th.th_info.ds.ds_tid; in __ompt_implicit_task_end()
195 th_gtid = this_thr->th.th_info.ds.ds_gtid; in __kmp_wait_template()
267 KMP_MASTER_TID(this_thr->th.th_info.ds.ds_tid)) { in __kmp_wait_template()
351 KMP_DEBUG_ASSERT(!KMP_MASTER_TID(this_thr->th.th_info.ds.ds_tid)); in __kmp_wait_template()
596 int wait_gtid = waiter->th.th_info.ds.ds_gtid; in __kmp_release_template()
Dkmp_barrier.cpp58 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_linear_barrier_gather_template()
201 gtid, team->t.t_id, tid, other_threads[i]->th.th_info.ds.ds_gtid, in __kmp_linear_barrier_release_template()
309 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_tree_barrier_gather()
530 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_hyper_barrier_gather()
891 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_hierarchical_barrier_gather()
1722 int ds_tid = this_thr->th.th_info.ds.ds_tid; in __kmp_join_barrier()
1943 gtid, team->t.t_id, other_threads[i]->th.th_info.ds.ds_gtid, in __kmp_fork_barrier()
1944 team->t.t_id, other_threads[i]->th.th_info.ds.ds_tid, in __kmp_fork_barrier()
2003 int ds_tid = this_thr->th.th_info.ds.ds_tid; in __kmp_fork_barrier()
Dkmp_omp.h95 offset_and_size_t th_info; // descriptor for thread member
Dkmp_debugger.cpp91 offset_and_size_of(kmp_base_info_t, th_info),
Dkmp_dispatch.cpp865 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_init()
884 (T)th->th.th_info.ds.ds_tid); in __kmp_dispatch_init()
1024 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish()
1088 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish_chunk()
1169 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next_algorithm()
2043 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next()
2059 th->th.th_info.ds.ds_tid); in __kmp_dispatch_next()
Dkmp_tasking.cpp1124 thread->th.th_info.ds.ds_gtid, task)); in __kmp_finish_implicit_task()
1228 kmp_int32 tid = thread->th.th_info.ds.ds_tid; in __kmp_task_alloc()
2232 kmp_int32 tid = thread->th.th_info.ds.ds_tid; in __kmpc_task_reduction_get_th_data()
2686 victim_tid = victim_thr->th.th_info.ds.ds_tid; in __kmp_steal_task()
2819 tid = thread->th.th_info.ds.ds_tid; in __kmp_execute_tasks_template()
3101 if (i == this_thr->th.th_info.ds.ds_tid) { in __kmp_enable_tasking()
4016 __ompt_task_init(taskdata, thread->th.th_info.ds.ds_gtid); in __kmp_task_dup_alloc()
Dkmp.h2511 kmp_desc_t th_info; member
3151 return __kmp_threads[gtid]->th.th_info.ds.ds_tid; in __kmp_tid_from_gtid()
3156 return team->t.t_threads[tid]->th.th_info.ds.ds_gtid; in __kmp_gtid_from_tid()
3161 return thr->th.th_info.ds.ds_gtid; in __kmp_gtid_from_thread()
Dkmp_csupport.cpp581 this_thr->th.th_info.ds.ds_tid = serial_team->t.t_master_tid; in __kmpc_end_serialized_parallel()
3310 KMP_DEBUG_ASSERT(!th->th.th_info.ds.ds_tid); // AC: check that tid == 0 in __kmp_swap_teams_for_teams_reduction()
3312 th->th.th_info.ds.ds_tid = team->t.t_master_tid; in __kmp_swap_teams_for_teams_reduction()
3328 th->th.th_info.ds.ds_tid = 0; in __kmp_restore_swapped_teams()
Dkmp_dispatch_hier.h952 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_init_hierarchy()
Dkmp_affinity.cpp5076 int tid = th->th.th_info.ds.ds_tid; in __kmp_balanced_affinity()
/external/shflags/
Dshflags_test_helpers35 th_info() { echo "test:INFO $*" >&2; }