reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/openmp/runtime/src/kmp_affinity.cpp
 4903   th->th.th_current_task->td_icvs.proc_bind = proc_bind_false;
projects/openmp/runtime/src/kmp_barrier.cpp
 1306     my_task_data = OMPT_CUR_TASK_DATA(this_thr);
 1355       this_thr->th.th_team_bt_intervals = KMP_BLOCKTIME_INTERVAL(team, tid);
 1715     my_task_data = OMPT_CUR_TASK_DATA(this_thr);
 1728       this_thr->th.ompt_thread_info.task_data = *OMPT_CUR_TASK_DATA(this_thr);
 1763     this_thr->th.th_team_bt_intervals = KMP_BLOCKTIME_INTERVAL(team, tid);
 1957       this_thr->th.th_team_bt_intervals = KMP_BLOCKTIME_INTERVAL(team, tid);
 1991                                  ? OMPT_CUR_TASK_DATA(this_thr)
projects/openmp/runtime/src/kmp_cancel.cpp
   84         task = this_thr->th.th_current_task;
  197         task = this_thr->th.th_current_task;
  323       task = this_thr->th.th_current_task;
projects/openmp/runtime/src/kmp_csupport.cpp
  445   this_thr->th.th_current_task->td_icvs.thread_limit =
  534     OMPT_CUR_TASK_INFO(this_thr)->frame.exit_frame = ompt_data_none;
  537           ompt_scope_end, NULL, OMPT_CUR_TASK_DATA(this_thr), 1,
  538           OMPT_CUR_TASK_INFO(this_thr)->thread_num, ompt_task_implicit);
  560     copy_icvs(&serial_team->t.t_threads[0]->th.th_current_task->td_icvs, top);
  607     KMP_ASSERT(this_thr->th.th_current_task->td_flags.executing == 0);
  608     this_thr->th.th_current_task->td_flags.executing = 1;
 1865   set__dynamic(thread, flag ? TRUE : FALSE);
 1876   set__max_active_levels(thread, flag ? __kmp_dflt_max_active_levels : 1);
 3836   return thread->th.th_current_task->td_task_id;
 3851   parent_task = thread->th.th_current_task->td_parent;
projects/openmp/runtime/src/kmp_ftn_entry.h
  136   else if (__kmp_zero_bt && !get__bt_set(team, tid)) {
  145     return get__blocktime(team, tid);
  346   return thread->th.th_current_task->td_icvs.nproc;
  359   ompt_task_info_t *parent_task_info = OMPT_CUR_TASK_INFO(this_thr);
  604   int max_active_levels = get__max_active_levels(thread);
  607   set__max_active_levels(thread, (KMP_DEREF flag) ? max_active_levels : 1);
  618   return get__max_active_levels(thread) > 1;
  631   set__dynamic(thread, KMP_DEREF flag ? TRUE : FALSE);
  641   return get__dynamic(thread);
  746   return thread->th.th_current_task->td_icvs.thread_limit;
  757   return __kmp_entry_thread()->th.th_current_task->td_flags.final;
  765   return get__proc_bind(__kmp_entry_thread());
  927   return __kmp_entry_thread()->th.th_current_task->td_icvs.default_device;
  935   __kmp_entry_thread()->th.th_current_task->td_icvs.default_device =
projects/openmp/runtime/src/kmp_gsupport.cpp
  475       OMPT_CUR_TASK_INFO(thr)->frame.exit_frame = ompt_data_none;
 1171     current_task = __kmp_threads[gtid]->th.th_current_task;
projects/openmp/runtime/src/kmp_itt.inl
  634     kmp_taskdata_t *taskdata = thread->th.th_current_task;
  646   kmp_taskdata_t *taskdata = thread->th.th_current_task;
projects/openmp/runtime/src/kmp_runtime.cpp
  787   if (!get__dynamic_2(parent_team, master_tid)) {
  853     if (!get__dynamic_2(parent_team, master_tid) && (!__kmp_reserve_warn)) {
  884     if (!get__dynamic_2(parent_team, master_tid) && (!__kmp_reserve_warn)) {
  923       if (!get__dynamic_2(parent_team, master_tid) && (!__kmp_reserve_warn)) {
 1167   if (this_thr->th.th_current_task->td_icvs.proc_bind == proc_bind_false) {
 1172     proc_bind = this_thr->th.th_current_task->td_icvs.proc_bind;
 1185     parent_task_info = OMPT_CUR_TASK_INFO(this_thr);
 1215                               proc_bind, &this_thr->th.th_current_task->td_icvs,
 1255     KMP_ASSERT(this_thr->th.th_current_task->td_flags.executing == 1);
 1256     this_thr->th.th_current_task->td_flags.executing = 0;
 1263     copy_icvs(&this_thr->th.th_current_task->td_icvs,
 1264               &this_thr->th.th_current_task->td_parent->td_icvs);
 1269       this_thr->th.th_current_task->td_icvs.nproc =
 1275       this_thr->th.th_current_task->td_icvs.proc_bind =
 1320       this_thr->th.th_current_task->td_icvs.nproc =
 1361     OMPT_CUR_TASK_INFO(this_thr)->frame.exit_frame.ptr = OMPT_GET_FRAME_ADDRESS(0);
 1371     implicit_task_data = OMPT_CUR_TASK_DATA(this_thr);
 1375           OMPT_CUR_TASK_DATA(this_thr), 1, __kmp_tid_from_gtid(global_tid), ompt_task_implicit); // TODO: Can this be ompt_task_initial?
 1376       OMPT_CUR_TASK_INFO(this_thr)
 1382     OMPT_CUR_TASK_INFO(this_thr)->frame.exit_frame.ptr = OMPT_GET_FRAME_ADDRESS(0);
 1483                             : get__nproc_2(parent_team, master_tid);
 1535           implicit_task_data = OMPT_CUR_TASK_DATA(master_th);
 1537             OMPT_CUR_TASK_INFO(master_th)
 1542                 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit);
 1569           OMPT_CUR_TASK_INFO(master_th)->frame.exit_frame = ompt_data_none;
 1573                 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit);
 1579                 &ompt_parallel_data, OMPT_CUR_TASK_DATA(master_th),
 1660         master_th->th.th_current_task->td_icvs.max_active_levels) {
 1668               : get__nproc_2(
 1676         if ((get__max_active_levels(master_th) == 1 &&
 1745             task_info = OMPT_CUR_TASK_INFO(master_th);
 1748               OMPT_CUR_TASK_INFO(master_th)
 1753                   OMPT_CUR_TASK_INFO(master_th)->thread_num,
 1782                   OMPT_CUR_TASK_INFO(master_th)->thread_num,
 1825             ompt_task_info_t *task_info = OMPT_CUR_TASK_INFO(master_th);
 1829                   OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_initial);
 1863             task_info = OMPT_CUR_TASK_INFO(master_th);
 1867             implicit_task_data = OMPT_CUR_TASK_DATA(master_th);
 1873               OMPT_CUR_TASK_INFO(master_th)
 1901                   OMPT_CUR_TASK_INFO(master_th)->thread_num,
 1951     master_th->th.th_current_task->td_flags.executing = 0;
 1959     int nthreads_icv = master_th->th.th_current_task->td_icvs.nproc;
 1971     if (master_th->th.th_current_task->td_icvs.proc_bind == proc_bind_false) {
 1977         proc_bind = master_th->th.th_current_task->td_icvs.proc_bind;
 1985            master_th->th.th_current_task->td_icvs.proc_bind)) {
 1995       copy_icvs(&new_icvs, &master_th->th.th_current_task->td_icvs);
 2020                                  &master_th->th.th_current_task->td_icvs,
 2050     kmp_r_sched_t new_sched = get__sched_2(parent_team, master_tid);
 2156                          &master_th->th.th_current_task->td_icvs, loc);
 2406             OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit);
 2488           OMPT_CUR_TASK_INFO(master_th)->thread_num, flags);
 2558   master_th->th.th_current_task->td_flags.executing = 1;
 2600       copy_icvs(control, &thread->th.th_current_task->td_icvs);
 2625   if (thread->th.th_current_task->td_icvs.nproc == new_nth)
 2630   set__nproc(thread, new_nth);
 2720   set__max_active_levels(thread, max_active_levels);
 2736   return thread->th.th_current_task->td_icvs.max_active_levels;
 2777       thread->th.th_current_task->td_icvs.sched.r_sched_type = kmp_sch_static;
 2779       thread->th.th_current_task->td_icvs.sched.r_sched_type =
 2785     thread->th.th_current_task->td_icvs.sched.r_sched_type =
 2790       orig_kind, &(thread->th.th_current_task->td_icvs.sched.r_sched_type));
 2793     thread->th.th_current_task->td_icvs.sched.chunk = KMP_DEFAULT_CHUNK;
 2795     thread->th.th_current_task->td_icvs.sched.chunk = chunk;
 2809   th_type = thread->th.th_current_task->td_icvs.sched.r_sched_type;
 2845   *chunk = thread->th.th_current_task->td_icvs.sched.chunk;
 3135   copy_icvs(&gx_icvs, &team->t.t_threads[0]->th.th_current_task->td_icvs);
 4120     this_thr->th.th_current_task->td_icvs.thread_limit =
 5484           thr->th.th_current_task->td_icvs.thread_limit =
 5596   this_th->th.th_current_task = NULL;
 6850       if (thread->th.th_current_task->td_icvs.nproc != 0)
 6853       set__nproc(__kmp_threads[i], __kmp_dflt_team_nth);
 7037     OMPT_CUR_TASK_INFO(this_thr)->thread_num = __kmp_tid_from_gtid(gtid);
 7097   tmp->cg_thread_limit = thr->th.th_current_task->td_icvs.thread_limit;
 7148     OMPT_CUR_TASK_INFO(this_thr)->thread_num = tid;
 7207     if (num_threads > thr->th.th_current_task->td_icvs.thread_limit) {
 7208       num_threads = thr->th.th_current_task->td_icvs.thread_limit;
 7216     thr->th.th_current_task->td_icvs.thread_limit = num_threads;
 7316     ompt_data_t *task_data = OMPT_CUR_TASK_DATA(this_thr);
 7613     set__nproc(thread, 1);
 7617     set__nproc(thread, __kmp_dflt_team_nth ? __kmp_dflt_team_nth
 7622     set__nproc(thread, __kmp_dflt_team_nth ? __kmp_dflt_team_nth
 8032   set__blocktime_team(thread->th.th_team, tid, blocktime);
 8033   set__blocktime_team(thread->th.th_serial_team, 0, blocktime);
 8046   set__bt_set_team(thread->th.th_team, tid, bt_set);
 8047   set__bt_set_team(thread->th.th_serial_team, 0, bt_set);
projects/openmp/runtime/src/kmp_taskdeps.cpp
  516   kmp_taskdata_t *current_task = thread->th.th_current_task;
  669   kmp_taskdata_t *current_task = thread->th.th_current_task;
projects/openmp/runtime/src/kmp_tasking.cpp
  376                               thread->th.th_current_task)) {
  396                                 thread->th.th_current_task)) {
  441   this_thr->th.th_current_task = this_thr->th.th_current_task->td_parent;
  441   this_thr->th.th_current_task = this_thr->th.th_current_task->td_parent;
  469     if (this_thr->th.th_current_task != &team->t.t_implicit_task_taskdata[0]) {
  471           this_thr->th.th_current_task;
  472       this_thr->th.th_current_task = &team->t.t_implicit_task_taskdata[0];
  477     this_thr->th.th_current_task = &team->t.t_implicit_task_taskdata[tid];
  516   thread->th.th_current_task = taskdata;
  604   kmp_taskdata_t *current_task = __kmp_threads[gtid]->th.th_current_task;
  840       thread->th.th_current_task = resumed_task; // restore current_task
  943   thread->th.th_current_task = resumed_task;
 1097   kmp_taskdata_t *task = thread->th.th_current_task;
 1123   kmp_taskdata_t *task = thread->th.th_current_task;
 1162   kmp_taskdata_t *parent_task = thread->th.th_current_task;
 1622     kmp_taskdata_t *current_task = __kmp_threads[gtid]->th.th_current_task;
 1662     kmp_taskdata_t *current_task = __kmp_threads[gtid]->th.th_current_task;
 1805     taskdata = thread->th.th_current_task;
 1933     taskdata = thread->th.th_current_task;
 2086   kmp_taskgroup_t *tg = thread->th.th_current_task->td_taskgroup;
 2207     tg = thread->th.th_current_task->td_taskgroup;
 2312     return (void *)thr->th.th_current_task->td_taskgroup;
 2338     tg = thr->th.th_current_task->td_taskgroup;
 2401   kmp_taskdata_t *taskdata = thread->th.th_current_task;
 2433   kmp_taskdata_t *taskdata = thread->th.th_current_task;
 2616                              thread->th.th_current_task)) {
 2693   current = __kmp_threads[gtid]->th.th_current_task;
 2791   kmp_taskdata_t *current_task = thread->th.th_current_task;
 3892   kmp_taskdata_t *parent_task = thread->th.th_current_task;
 4097   kmp_taskdata_t *current_task = thread->th.th_current_task;
 4406   kmp_taskdata_t *current_task = thread->th.th_current_task;
projects/openmp/runtime/src/kmp_wait_release.h
  265         tId = OMPT_CUR_TASK_DATA(this_thr);
projects/openmp/runtime/src/ompt-specific.cpp
  108     kmp_taskdata_t *taskdata = thr->th.th_current_task;
  148     kmp_taskdata_t *taskdata = thr->th.th_current_task;
  289     link_lwt->ompt_task_info = *OMPT_CUR_TASK_INFO(thr);
  290     *OMPT_CUR_TASK_INFO(thr) = tmp_task;
  301     *OMPT_CUR_TASK_INFO(thr) = lwt->ompt_task_info;
  315     lwtask->ompt_task_info = *OMPT_CUR_TASK_INFO(thr);
  316     *OMPT_CUR_TASK_INFO(thr) = tmp_task;
  348     kmp_taskdata_t *taskdata = thr->th.th_current_task;
  440   kmp_taskdata_t *taskdata = thr->th.th_current_task;