Lines Matching defs:thr

52   kmp_info_t *thr = ompt_get_thread();
54 if (thr) {
55 kmp_team *team = thr->th.th_team;
105 kmp_info_t *thr = ompt_get_thread();
107 if (thr) {
108 kmp_taskdata_t *taskdata = thr->th.th_current_task;
145 kmp_info_t *thr = ompt_get_thread();
147 if (thr) {
148 kmp_taskdata_t *taskdata = thr->th.th_current_task;
260 void __ompt_lw_taskteam_init(ompt_lw_taskteam_t *lwt, kmp_info_t *thr, int gtid,
274 void __ompt_lw_taskteam_link(ompt_lw_taskteam_t *lwt, kmp_info_t *thr,
278 thr->th.th_team->t.t_serialized >
288 link_lwt->ompt_team_info = *OMPT_CUR_TEAM_INFO(thr);
289 *OMPT_CUR_TEAM_INFO(thr) = tmp_team;
293 thr->th.th_team->t.ompt_serialized_team_info;
295 thr->th.th_team->t.ompt_serialized_team_info = link_lwt;
303 link_lwt->ompt_task_info = *OMPT_CUR_TASK_INFO(thr);
304 *OMPT_CUR_TASK_INFO(thr) = tmp_task;
308 *OMPT_CUR_TEAM_INFO(thr) = lwt->ompt_team_info;
314 *OMPT_CUR_TASK_INFO(thr) = lwt->ompt_task_info;
318 void __ompt_lw_taskteam_unlink(kmp_info_t *thr) {
319 ompt_lw_taskteam_t *lwtask = thr->th.th_team->t.ompt_serialized_team_info;
322 lwtask->ompt_task_info = *OMPT_CUR_TASK_INFO(thr);
323 *OMPT_CUR_TASK_INFO(thr) = tmp_task;
329 thr->th.th_team->t.ompt_serialized_team_info = lwtask->parent;
332 lwtask->ompt_team_info = *OMPT_CUR_TEAM_INFO(thr);
333 *OMPT_CUR_TEAM_INFO(thr) = tmp_team;
348 kmp_info_t *thr = ompt_get_thread();
349 ompt_data_t *task_data = thr ? OMPT_CUR_TASK_DATA(thr) : NULL;
371 kmp_info_t *thr = ompt_get_thread();
374 if (thr) {
375 kmp_taskdata_t *taskdata = thr->th.th_current_task;
378 kmp_team *team = thr->th.th_team, *prev_team = NULL;
468 kmp_info_t *thr = ompt_get_thread();
469 if (!thr)
472 kmp_taskdata_t *taskdata = thr->th.th_current_task;
505 kmp_info_t *thr) {
507 if (thr->th.ompt_thread_info.parallel_flags & ompt_parallel_league)
513 if (bt != bs_plain_barrier || !thr->th.th_ident)
516 kmp_int32 flags = thr->th.th_ident->flags;