Lines Matching defs:team

1263 #define KMP_BLOCKTIME(team, tid)                                               \
1264 (get__bt_set(team, tid) ? get__blocktime(team, tid) : __kmp_dflt_blocktime)
1274 #define KMP_BLOCKTIME_INTERVAL(team, tid) \
1275 ((kmp_uint64)KMP_BLOCKTIME(team, tid) * __kmp_ticks_per_usec)
1281 #define KMP_BLOCKTIME_INTERVAL(team, tid) \
1282 ((kmp_uint64)KMP_BLOCKTIME(team, tid) * (kmp_uint64)KMP_NSEC_PER_USEC)
2216 kmp_team_t *team;
2248 // primary thread of the team accesses these fields: the first one is
2448 // The tt_found_tasks flag is a signal to all threads in the team that tasks
2730 unsigned tasking_ser : 1; // all tasks in team are either executed immediately
2732 unsigned team_serial : 1; // entire team is serial (1) [1 thread] or parallel
2734 /* If either team_serial or tasking_ser is set, task team may be NULL */
2758 kmp_team_t *td_team; /* team for this task */
2807 // Data for task team but per thread
2845 // Data for task teams which are used when tasking is enabled for the team
2848 tt_threads_lock; /* Lock used to allocate per-thread part of task team */
2855 kmp_task_team_t *tt_next; /* For linking the task team free list */
2857 *tt_threads_data; /* Array of per-thread structures for task team */
2858 /* Data survives task team deallocation */
2860 executing this team? */
2862 kmp_int32 tt_nproc; /* #threads in team */
2867 // There is hidden helper thread encountered in this task team so that we must
2868 // wait when waiting on task team
2876 tt_active; /* is the team still actively executing tasks */
2911 kmp_int32 nth; // number of threads in each team of the league
2916 // each primary thread of each team created in the teams construct.
2942 kmp_team_p *th_team; /* team we belong to */
2948 /* The following are cached from the team info structure */
2950 int th_team_nproc; /* number of threads in a team */
2951 kmp_info_p *th_team_master; /* the team's primary thread */
2952 int th_team_serialized; /* team is serialized */
2957 /* The blocktime info is copied from the team struct to the thread struct */
2958 /* at the start of a barrier, and the values stored in the team are used */
2959 /* at points in the code where the team struct is no longer guaranteed */
3007 /* TODO the first serial team should actually be stored in the info_t
3010 *th_serial_team; /*serialized team held in reserve*/
3030 kmp_task_team_t *th_task_team; // Task team struct
3032 kmp_uint8 th_task_state; // alternating 0/1 for task team identification
3040 std::atomic<kmp_uint32> th_used_in_team; // Flag indicating use in team
3041 // 0 = not used in team; 1 = used in team;
3042 // 2 = transitioning to not used in team; 3 = transitioning to used in team
3091 // OpenMP thread team data structures
3135 std::atomic<int> t_construct; // count of single directive encountered by team
3144 KMP_ALIGN_CACHE int t_master_tid; // tid of primary thread in parent team
3146 // in parent team
3149 kmp_team_p *t_parent; // parent team
3150 kmp_team_p *t_next_pool; // next free team in the team pool
3152 kmp_task_team_t *t_task_team[2]; // Task team struct; switch between 2
3163 int t_nproc; // number of threads in team
3187 int t_max_nproc; // max threads this team can handle (dynamically expandable)
3190 int t_id; // team's id, assigned by debugger.
3192 kmp_r_sched_t t_sched; // run-time schedule for the team
3198 int t_size_changed; // team size was changed?: 0: no, 1: yes, -1: changed via
3216 void *t_copypriv_data; // team specific pointer to copyprivate data array
3221 void *t_stack_id; // team specific stack stitching id (for ittnotify)
3223 distributedBarrier *b; // Distributed barrier data associated with team
3228 // the double task team pointer
3542 concurrent execution per team */
3633 static inline int __kmp_gtid_from_tid(int tid, const kmp_team_t *team) {
3634 KMP_DEBUG_ASSERT(tid >= 0 && team);
3635 return team->t.t_threads[tid]->th.th_info.ds.ds_gtid;
4033 extern kmp_info_t *__kmp_allocate_thread(kmp_root_t *root, kmp_team_t *team,
4090 extern void __kmp_internal_fork(ident_t *id, int gtid, kmp_team_t *team);
4091 extern void __kmp_internal_join(ident_t *id, int gtid, kmp_team_t *team);
4095 kmp_team_t *team);
4098 kmp_team_t *team);
4120 kmp_team_t *team, int tid);
4128 kmp_team_t *team, int tid,
4141 extern void __kmp_push_task_team_node(kmp_info_t *thread, kmp_team_t *team);
4142 extern void __kmp_pop_task_team_node(kmp_info_t *thread, kmp_team_t *team);
4144 extern void __kmp_task_team_setup(kmp_info_t *this_thr, kmp_team_t *team);
4145 extern void __kmp_task_team_sync(kmp_info_t *this_thr, kmp_team_t *team);
4146 extern void __kmp_task_team_wait(kmp_info_t *this_thr, kmp_team_t *team
4153 extern void __kmp_tasking_barrier(kmp_team_t *team, kmp_info_t *thread,
4156 #define KMP_DEBUG_ASSERT_TASKTEAM_INVARIANT(team, thr) \
4158 __kmp_tasking_mode != tskm_task_teams || team->t.t_nproc == 1 || \
4159 thr->th.th_task_team == team->t.t_task_team[thr->th.th_task_state])
4161 #define KMP_DEBUG_ASSERT_TASKTEAM_INVARIANT(team, thr) /* Nothing */
4575 // 1: it is initializing hidden helper team
4577 // 1: the hidden helper team is done
4581 // Main thread of hidden helper team
4612 #define KMP_HIDDEN_HELPER_TEAM(team) \
4613 (team->t.t_threads[0] == __kmp_hidden_helper_main_thread)