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

References

projects/openmp/runtime/src/kmp.h
 3057           __kmp_threads[gtid] == __kmp_root[gtid]->r.r_uber_thread);
projects/openmp/runtime/src/kmp_csupport.cpp
  221   return __kmp_entry_thread()->th.th_root->r.r_active;
projects/openmp/runtime/src/kmp_dispatch.cpp
   49     if (th->th.th_root->r.r_active &&
projects/openmp/runtime/src/kmp_ftn_entry.h
  657     return (th->th.th_root->r.r_in_parallel ? FTN_TRUE : FTN_FALSE);
projects/openmp/runtime/src/kmp_runtime.cpp
  663     if (__kmp_threads[gtid]->th.th_root->r.r_active)
  689     if (__kmp_threads[gtid]->th.th_root->r.r_active)
  808                    (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc);
  808                    (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc);
  844           (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc) >
  844           (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc) >
  847                       (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc);
  847                       (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc);
  875           (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc) >
  875           (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc) >
  878                       (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc);
  878                       (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc);
  910           (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc) >
  910           (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc) >
  914                         (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc) -
  914                         (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc) -
 1444     master_active = root->r.r_active;
 1472       (*p_hot_teams)[0].hot_team = root->r.r_hot_team;
 1591       KMP_ATOMIC_INC(&root->r.r_in_parallel);
 1677              (root->r.r_in_parallel && !enter_teams)) ||
 1955       KMP_ATOMIC_INC(&root->r.r_in_parallel);
 2151     if (!root->r.r_active) // Only do assignment if it prevents cache ping-pong
 2152       root->r.r_active = TRUE;
 2417     KMP_ATOMIC_DEC(&root->r.r_in_parallel);
 2474     KMP_ATOMIC_DEC(&root->r.r_in_parallel);
 2508   if (root->r.r_active != master_active)
 2509     root->r.r_active = master_active;
 2527       parent_team != root->r.r_root_team) {
 2636   if (__kmp_init_parallel && (!root->r.r_active) &&
 2637       (root->r.r_hot_team->t.t_nproc > new_nth)
 2642     kmp_team_t *hot_team = root->r.r_hot_team;
 3150   KMP_ASSERT(!root->r.r_begin);
 3153   __kmp_init_lock(&root->r.r_begin_lock);
 3154   root->r.r_begin = FALSE;
 3155   root->r.r_active = FALSE;
 3156   root->r.r_in_parallel = 0;
 3157   root->r.r_blocktime = __kmp_dflt_blocktime;
 3182   root->r.r_root_team = root_team;
 3213   root->r.r_hot_team = hot_team;
 3684   if (root->r.r_uber_thread) {
 3685     root_thread = root->r.r_uber_thread;
 3728   root->r.r_root_team->t.t_threads[0] = root_thread;
 3729   root->r.r_hot_team->t.t_threads[0] = root_thread;
 3733   root->r.r_uber_thread = root_thread;
 3736   __kmp_initialize_info(root_thread, root->r.r_root_team, 0, gtid);
 3853   kmp_team_t *root_team = root->r.r_root_team;
 3854   kmp_team_t *hot_team = root->r.r_hot_team;
 3860   root->r.r_root_team = NULL;
 3861   root->r.r_hot_team = NULL;
 3909         &(root->r.r_uber_thread->th.ompt_thread_info.thread_data));
 3915   i = root->r.r_uber_thread->th.th_cg_roots->cg_nthreads--;
 3925     __kmp_free(root->r.r_uber_thread->th.th_cg_roots);
 3926     root->r.r_uber_thread->th.th_cg_roots = NULL;
 3928   __kmp_reap_thread(root->r.r_uber_thread, 1);
 3932   root->r.r_uber_thread = NULL;
 3934   root->r.r_begin = FALSE;
 3957   KMP_ASSERT(root->r.r_active == FALSE);
 4879   int use_hot_team = !root->r.r_active;
 4948                               root->r.r_uber_thread->th.th_ident);
 5017                               root->r.r_uber_thread->th.th_ident);
 5142                             root->r.r_uber_thread->th.th_ident);
 5367   int use_hot_team = team == root->r.r_hot_team;
 5978       if (__kmp_root[i]->r.r_active)
 6129       if (__kmp_root[gtid]->r.r_active) {
 6238       if (__kmp_root[gtid]->r.r_active) {
 7358   if (root->r.r_active) {
 7361   hot_team = root->r.r_hot_team;
 7421              (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc);
 7421              (root->r.r_active ? 1 : root->r.r_hot_team->t.t_nproc);
 7575   if (root->r.r_begin)
 7577   __kmp_acquire_lock(&root->r.r_begin_lock, gtid);
 7578   if (root->r.r_begin) {
 7579     __kmp_release_lock(&root->r.r_begin_lock, gtid);
 7583   root->r.r_begin = TRUE;
 7585   __kmp_release_lock(&root->r.r_begin_lock, gtid);
 7604   if (root->r.r_in_parallel) { /* Must be called in serial section of top-level
projects/openmp/runtime/src/kmp_threadprivate.cpp
  552   if (!__kmp_threads[global_tid]->th.th_root->r.r_active && !__kmp_foreign_tp) {