Lines Matching refs:this_thr
28 kmp_info_t *this_thr);
439 void __kmp_pop_current_task_from_thread(kmp_info_t *this_thr) { in __kmp_pop_current_task_from_thread() argument
443 0, this_thr, this_thr->th.th_current_task, in __kmp_pop_current_task_from_thread()
444 this_thr->th.th_current_task->td_parent)); in __kmp_pop_current_task_from_thread()
446 this_thr->th.th_current_task = this_thr->th.th_current_task->td_parent; in __kmp_pop_current_task_from_thread()
451 0, this_thr, this_thr->th.th_current_task, in __kmp_pop_current_task_from_thread()
452 this_thr->th.th_current_task->td_parent)); in __kmp_pop_current_task_from_thread()
461 void __kmp_push_current_task_to_thread(kmp_info_t *this_thr, kmp_team_t *team, in __kmp_push_current_task_to_thread() argument
468 tid, this_thr, this_thr->th.th_current_task, in __kmp_push_current_task_to_thread()
471 KMP_DEBUG_ASSERT(this_thr != NULL); in __kmp_push_current_task_to_thread()
474 if (this_thr->th.th_current_task != &team->t.t_implicit_task_taskdata[0]) { in __kmp_push_current_task_to_thread()
476 this_thr->th.th_current_task; in __kmp_push_current_task_to_thread()
477 this_thr->th.th_current_task = &team->t.t_implicit_task_taskdata[0]; in __kmp_push_current_task_to_thread()
482 this_thr->th.th_current_task = &team->t.t_implicit_task_taskdata[tid]; in __kmp_push_current_task_to_thread()
488 tid, this_thr, this_thr->th.th_current_task, in __kmp_push_current_task_to_thread()
1047 void __kmp_init_implicit_task(ident_t *loc_ref, kmp_info_t *this_thr, in __kmp_init_implicit_task() argument
1089 __kmp_push_current_task_to_thread(this_thr, team, tid); in __kmp_init_implicit_task()
3064 kmp_info_t *this_thr) { in __kmp_enable_tasking() argument
3069 __kmp_gtid_from_thread(this_thr))); in __kmp_enable_tasking()
3072 KMP_DEBUG_ASSERT(this_thr->th.th_team != NULL); in __kmp_enable_tasking()
3076 KMP_DEBUG_ASSERT(nthreads == this_thr->th.th_team->t.t_nproc); in __kmp_enable_tasking()
3079 is_init_thread = __kmp_realloc_task_threads_data(this_thr, task_team); in __kmp_enable_tasking()
3086 __kmp_gtid_from_thread(this_thr))); in __kmp_enable_tasking()
3101 if (i == this_thr->th.th_info.ds.ds_tid) { in __kmp_enable_tasking()
3113 __kmp_gtid_from_thread(this_thr), in __kmp_enable_tasking()
3118 __kmp_gtid_from_thread(this_thr), in __kmp_enable_tasking()
3125 __kmp_gtid_from_thread(this_thr))); in __kmp_enable_tasking()
3507 void __kmp_task_team_setup(kmp_info_t *this_thr, kmp_team_t *team, int always) { in __kmp_task_team_setup() argument
3514 if (team->t.t_task_team[this_thr->th.th_task_state] == NULL && in __kmp_task_team_setup()
3516 team->t.t_task_team[this_thr->th.th_task_state] = in __kmp_task_team_setup()
3517 __kmp_allocate_task_team(this_thr, team); in __kmp_task_team_setup()
3520 __kmp_gtid_from_thread(this_thr), in __kmp_task_team_setup()
3521 team->t.t_task_team[this_thr->th.th_task_state], in __kmp_task_team_setup()
3523 this_thr->th.th_task_state)); in __kmp_task_team_setup()
3534 int other_team = 1 - this_thr->th.th_task_state; in __kmp_task_team_setup()
3537 __kmp_allocate_task_team(this_thr, team); in __kmp_task_team_setup()
3540 __kmp_gtid_from_thread(this_thr), in __kmp_task_team_setup()
3559 __kmp_gtid_from_thread(this_thr), in __kmp_task_team_setup()
3569 void __kmp_task_team_sync(kmp_info_t *this_thr, kmp_team_t *team) { in __kmp_task_team_sync() argument
3574 this_thr->th.th_task_state = 1 - this_thr->th.th_task_state; in __kmp_task_team_sync()
3577 TCW_PTR(this_thr->th.th_task_team, in __kmp_task_team_sync()
3578 team->t.t_task_team[this_thr->th.th_task_state]); in __kmp_task_team_sync()
3582 __kmp_gtid_from_thread(this_thr), this_thr->th.th_task_team, in __kmp_task_team_sync()
3583 ((team != NULL) ? team->t.t_id : -1), this_thr->th.th_task_state)); in __kmp_task_team_sync()
3594 kmp_info_t *this_thr, in __kmp_task_team_wait() argument
3596 kmp_task_team_t *task_team = team->t.t_task_team[this_thr->th.th_task_state]; in __kmp_task_team_wait()
3599 KMP_DEBUG_ASSERT(task_team == this_thr->th.th_task_team); in __kmp_task_team_wait()
3605 __kmp_gtid_from_thread(this_thr), task_team)); in __kmp_task_team_wait()
3613 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj)); in __kmp_task_team_wait()
3621 __kmp_gtid_from_thread(this_thr), task_team)); in __kmp_task_team_wait()
3629 TCW_PTR(this_thr->th.th_task_team, NULL); in __kmp_task_team_wait()