Searched refs:team (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-11-stable/contrib/gcclibs/libgomp/
H A Dbarrier.c37 struct gomp_team *team = thr->ts.team; local
40 if (team == NULL)
43 gomp_barrier_wait (&team->barrier);
H A Dparallel.c47 this team to use only one thread. */
48 if (gomp_thread()->ts.team && !gomp_nest_var)
82 /* The public OpenMP API for thread and team related inquiries. */
87 struct gomp_team *team = gomp_thread ()->ts.team;
88 return team ? team->nthreads : 1;
108 same thing as any outer team having more than one thread. */
112 struct gomp_team *team = gomp_thread ()->ts.team;
86 struct gomp_team *team = gomp_thread ()->ts.team; local
111 struct gomp_team *team = gomp_thread ()->ts.team; local
[all...]
H A Dwork.c28 /* This file contains routines to manage the work-share queue for a team
75 struct gomp_team *team = thr->ts.team; local
80 if (team == NULL)
89 gomp_mutex_lock (&team->work_share_lock);
95 the team, then simply reference the existing construct. */
96 if (ws_gen - team->oldest_live_gen < team->num_live_gen)
98 ws_index = ws_gen & team->generation_mask;
99 ws = team
149 struct gomp_team *team = thr->ts.team; local
187 struct gomp_team *team = thr->ts.team; local
[all...]
H A Dordered.c41 struct gomp_team *team = thr->ts.team; local
46 if (team == NULL || team->nthreads == 1)
50 if (index >= team->nthreads)
51 index -= team->nthreads;
58 gomp_sem_post (team->ordered_release[thr->ts.team_id]);
72 struct gomp_team *team = thr->ts.team; local
77 if (team
107 struct gomp_team *team = thr->ts.team; local
155 struct gomp_team *team = thr->ts.team; local
173 struct gomp_team *team = thr->ts.team; local
197 struct gomp_team *team = thr->ts.team; local
[all...]
H A Dteam.c28 /* This file handles the maintainence of threads in response to team
67 loop in which a thread waits to be called up to become part of a team. */
91 thr->ts.team->ordered_release[thr->ts.team_id] = &thr->release;
95 gomp_barrier_wait (&thr->ts.team->barrier);
97 gomp_barrier_wait (&thr->ts.team->barrier);
106 struct gomp_team *team; local
110 /* Clear out the team and function data. This is a debugging
112 team = thr->ts.team;
115 thr->ts.team
139 struct gomp_team *team; local
165 free_team(struct gomp_team *team) argument
183 struct gomp_team *team; local
328 struct gomp_team *team = thr->ts.team; local
[all...]
H A Dsingle.c66 gomp_barrier_wait (&thr->ts.team->barrier);
82 struct gomp_team *team = thr->ts.team; local
84 if (team != NULL)
87 gomp_barrier_wait (&team->barrier);
H A Diter.c44 struct gomp_team *team = thr->ts.team; local
46 unsigned long nthreads = team ? team->nthreads : 1;
237 struct gomp_team *team = thr->ts.team; local
238 unsigned long nthreads = team ? team->nthreads : 1;
271 struct gomp_team *team = thr->ts.team; local
[all...]
H A Dlibgomp.h99 of the team to exit the work share construct must deallocate it. */
126 a thread team. This is the data that must be saved when a thread
131 /* This is the team of which the thread is currently a member. */
132 struct gomp_team *team; member in struct:gomp_team_state
140 /* This is the ID of this thread within the team. This value is
142 threads in the team. */
160 /* This structure describes a "team" of threads. These are the threads
162 constructs that the team encounters. */
184 /* This is the number of threads in the current team. */
187 /* This is the saved team stat
[all...]
H A DMakefile.am33 loop.c ordered.c parallel.c sections.c single.c team.c work.c \
H A DMakefile.in85 single.lo team.lo work.lo lock.lo mutex.lo proc.lo sem.lo \
278 loop.c ordered.c parallel.c sections.c single.c team.c work.c \
424 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/team.Plo@am__quote@
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.cpp50 kmp_team_t *team = this_thr->th.th_team; local
52 kmp_info_t **other_threads = team->t.t_threads;
57 gtid, team->t.t_id, tid, bt));
73 gtid, team->t.t_id, tid, __kmp_gtid_from_tid(0, team),
74 team->t.t_id, 0, &thr_bar->b_arrived, thr_bar->b_arrived,
77 /* After performing this write, a worker thread may not assume that the team
84 kmp_balign_team_t *team_bar = &team->t.t_bar[bt];
87 // Don't have to worry about sleep bit here or atomic since team setting
90 // Collect all the worker team membe
158 kmp_team_t *team; local
298 kmp_team_t *team = this_thr->th.th_team; local
409 kmp_team_t *team; local
518 kmp_team_t *team = this_thr->th.th_team; local
640 kmp_team_t *team; local
803 __kmp_init_hierarchical_barrier_thread(enum barrier_type bt, kmp_bstate_t *thr_bar, kmp_uint32 nproc, int gtid, int tid, kmp_team_t *team) argument
872 kmp_team_t *team = this_thr->th.th_team; local
1052 kmp_team_t *team; local
1299 kmp_team_t *team = this_thr->th.th_team; local
1631 kmp_team_t *team = this_thr->th.th_team; local
1671 kmp_team_t *team; local
1908 kmp_team_t *team = (tid == 0) ? this_thr->th.th_team : NULL; local
2128 __kmp_setup_icv_copy(kmp_team_t *team, int new_nproc, kmp_internal_control_t *new_icvs, ident_t *loc) argument
[all...]
H A Dkmp_runtime.cpp71 static void __kmp_initialize_team(kmp_team_t *team, int new_nproc,
75 static void __kmp_partition_places(kmp_team_t *team,
81 void __kmp_setup_icv_copy(kmp_team_t *team, int new_nproc,
484 /* Print out the storage map for the major kmp_team_t team data structures
487 static void __kmp_print_team_storage_map(const char *header, kmp_team_t *team, argument
489 int num_disp_buff = team->t.t_max_nproc > 1 ? __kmp_dispatch_num_buffers : 2;
490 __kmp_print_storage_map_gtid(-1, team, team + 1, sizeof(kmp_team_t), "%s_%d",
493 __kmp_print_storage_map_gtid(-1, &team->t.t_bar[0],
494 &team
659 kmp_team_t *team = __kmp_team_from_gtid(gtid); local
685 kmp_team_t *team = __kmp_team_from_gtid(gtid); local
711 kmp_team_t *team; local
957 __kmp_fork_team_threads(kmp_root_t *root, kmp_team_t *team, kmp_info_t *master_th, int master_gtid) argument
1069 propagateFPControl(kmp_team_t *team) argument
1102 updateHWFPControl(kmp_team_t *team) argument
1397 kmp_team_t *team; local
2232 __kmp_join_restore_state(kmp_info_t *thread, kmp_team_t *team) argument
2240 __kmp_join_ompt(int gtid, kmp_info_t *thread, kmp_team_t *team, ompt_data_t *parallel_data, int flags, void *codeptr) argument
2262 kmp_team_t *team; local
2825 kmp_team_t *team; local
2883 kmp_team_t *team; local
2968 __kmp_alloc_argv_entries(int argc, kmp_team_t *team, int realloc) argument
3014 __kmp_allocate_team_arrays(kmp_team_t *team, int max_nth) argument
3034 __kmp_free_team_arrays(kmp_team_t *team) argument
3056 __kmp_reallocate_team_arrays(kmp_team_t *team, int max_nth) argument
3104 __kmp_get_x_global_icvs(const kmp_team_t *team) argument
3362 kmp_team_p const *team = list->entry; local
[all...]
H A Dompt-specific.cpp36 #define LWT_FROM_TEAM(team) (team)->t.ompt_serialized_team_info
45 // traverse the team and task hierarchy
55 kmp_team *team = thr->th.th_team; local
56 if (team == NULL)
59 ompt_lw_taskteam_t *next_lwt = LWT_FROM_TEAM(team), *lwt = NULL;
62 // next lightweight team (if any)
66 // next heavyweight team (if any) after
68 if (!lwt && team) {
73 team
468 __ompt_team_assign_id(kmp_team_t *team, ompt_data_t ompt_pid) argument
[all...]
H A Dkmp_tasking.cpp41 // thread_data: thread data for task team thread containing stack
97 // thread_data: thread data for task team thread containing stack
156 return; // Don't push anything on stack if team or team tasks are serialized
216 // Don't pop anything from stack if team or team tasks are serialized
347 KA_TRACE(20, ("__kmp_push_task: T#%d team serialized; returning "
431 // when team ends
451 // new team
454 // team
456 __kmp_push_current_task_to_thread(kmp_info_t *this_thr, kmp_team_t *team, int tid) argument
1034 __kmp_init_implicit_task(ident_t *loc_ref, kmp_info_t *this_thr, kmp_team_t *team, int tid, int set_curr_task) argument
1161 kmp_team_t *team = thread->th.th_team; local
2314 kmp_team_t *team = thr->th.th_team; local
2417 kmp_team_t *team = thread->th.th_team; local
2438 kmp_team_t *team; local
3198 kmp_team_t *team = thread->th.th_team; local
3299 __kmp_allocate_task_team(kmp_info_t *thread, kmp_team_t *team) argument
3453 __kmp_task_team_setup(kmp_info_t *this_thr, kmp_team_t *team, int always) argument
3515 __kmp_task_team_sync(kmp_info_t *this_thr, kmp_team_t *team) argument
3583 __kmp_tasking_barrier(kmp_team_t *team, kmp_info_t *thread, int gtid) argument
3803 kmp_team_t *team = taskdata->td_team; local
3868 kmp_team_t *team = taskdata->td_team; local
[all...]
H A Dkmp_sched.cpp15 NOTE: team->t.t_nproc is a constant inside of any dispatch loop, however
87 kmp_team_t *team; local
190 team = th->th.th_team->t.t_parent;
193 team = th->th.th_team;
197 if (team->t.t_serialized) {
229 nth = team->t.t_nproc;
382 team->t.t_active_level == 1) {
436 kmp_team_t *team; local
478 team = th->th.th_team;
481 team_id = team
[all...]
H A Dkmp_csupport.cpp339 @param num_threads number of threads per team requested for the teams construct
541 /* If necessary, pop the internal control stack values and replace the team
596 // Copy the task team from the new child / old parent team to the thread.
601 "team %p\n",
607 "depth of serial team %p to %d\n",
731 // 2) set to 0 when a new team is created
769 kmp_team_t *team = this_thr->th.th_team; local
773 ompt_scope_begin, &(team->t.ompt_team_info.parallel_data),
774 &(team
813 kmp_team_t *team = this_thr->th.th_team; local
859 kmp_team_t *team; local
1735 kmp_team_t *team = this_thr->th.th_team; local
1782 kmp_team_t *team = this_thr->th.th_team; local
3312 kmp_team_t *team; local
3335 __kmp_restore_swapped_teams(kmp_info_t *th, kmp_team_t *team, int task_state) argument
3370 kmp_team_t *team; local
3596 kmp_team_t *team; local
3714 kmp_team_t *team; local
3877 kmp_team_t *team = th->th.th_team; local
3997 kmp_team_t *team = th->th.th_team; local
4090 kmp_team_t *team = th->th.th_team; local
4142 kmp_team_t *team = th->th.th_team; local
[all...]
H A Dkmp_wait_release.h162 NOTE: We may not belong to a team at this point. */
189 kmp_team_t *team = this_thr->th.th_team; local
190 if (team && team->t.t_cancel_request == cancel_parallel)
242 Worker after task-team is finished:
260 ompt_lw_taskteam_t *team = local
262 if (team) {
263 tId = &(team->ompt_task_info.task_data);
272 // implicit task is done. Either no taskqueue, or task-team finished
283 // The worker threads cannot rely on the team struc
379 kmp_team_t *team = this_thr->th.th_team; local
462 kmp_team_t *team = this_thr->th.th_team; local
[all...]
H A Dkmp_dispatch.cpp88 // to the scheduling (often the number of threads in a team, but not always if
91 // between 0 and nproc - 1. This is often just the thread id within a team, but
111 kmp_team_t *team; local
132 team = th->th.th_team;
133 active = !team->t.t_serialized;
139 team->t.t_active_level == 1;
179 schedule = team->t.t_sched.r_sched_type;
191 chunk = team->t.t_sched.chunk;
246 schedule = team->t.t_sched.r_sched_type;
258 chunk = team
741 __kmp_dispatch_free_hierarchies(kmp_team_t *team) argument
767 kmp_team_t *team; local
1155 kmp_team_t *team = th->th.th_team; local
1903 kmp_team_t *team = th->th.th_team; local
2152 kmp_team_t *team; local
[all...]
H A Dompt-specific.h23 void __ompt_team_assign_id(kmp_team_t *team, ompt_data_t ompt_pid);
H A Dkmp.h1039 #define KMP_BLOCKTIME(team, tid) \
1040 (get__bt_set(team, tid) ? get__blocktime(team, tid) : __kmp_dflt_blocktime)
1050 #define KMP_BLOCKTIME_INTERVAL(team, tid) \
1051 (KMP_BLOCKTIME(team, tid) * __kmp_ticks_per_msec)
1058 #define KMP_BLOCKTIME_INTERVAL(team, tid) \
1059 (KMP_BLOCKTIME(team, tid) * KMP_USEC_PER_SEC)
1845 kmp_team_t *team; member in struct:kmp_bstate
1877 // master of the team accesses these fields: the first one is increased by
2077 // The tt_found_tasks flag is a signal to all threads in the team tha
3065 __kmp_gtid_from_tid(int tid, const kmp_team_t *team) argument
[all...]
H A Dkmp_ftn_entry.h122 kmp_team_p *team;
127 team = __kmp_threads[gtid]->th.th_team;
132 team->t.t_id, tid, KMP_MAX_BLOCKTIME));
136 else if (__kmp_zero_bt && !get__bt_set(team, tid)) {
138 team->t.t_id, tid, 0));
144 team->t.t_id, tid, get__blocktime(team, tid)));
145 return get__blocktime(team, tid);
323 /* returns the number of threads in current team */
653 // one team affect
[all...]
H A Dkmp_gsupport.cpp130 kmp_team_t *team = this_thr->th.th_team; local
138 &(team->t.ompt_team_info.parallel_data),
139 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data),
146 &(team->t.ompt_team_info.parallel_data),
147 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data),
151 &(team->t.ompt_team_info.parallel_data),
152 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data),
212 // Set the copyprivate data pointer fo the team, then hit the barrier so that
372 kmp_team_t *team = thr->th.th_team; local
384 __kmp_run_before_invoked_task(gtid, tid, thr, team);
[all...]
H A Dkmp_dispatch_hier.h136 extern void __kmp_dispatch_free_hierarchies(kmp_team_t *team);
509 // from the team struct.
923 kmp_team_t *team;
947 team = th->th.th_team;
948 active = !team->t.t_serialized;
958 &team->t.t_disp_buffer[my_buffer_index % __kmp_dispatch_num_buffers]);
/freebsd-11-stable/gnu/lib/libgomp/
H A DMakefile14 single.c team.c work.c lock.c mutex.c proc.c sem.c \
/freebsd-11-stable/contrib/dtc/Documentation/
H A Ddtc-paper.tex575 among others things. He's a member of the ppc64 development ``team''

Completed in 322 milliseconds

12