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

/freebsd-13-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
642 kmp_team_t *team; local
805 __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
874 kmp_team_t *team = this_thr->th.th_team; local
1054 kmp_team_t *team; local
1301 kmp_team_t *team = this_thr->th.th_team; local
1633 kmp_team_t *team = this_thr->th.th_team; local
1673 kmp_team_t *team; local
1910 kmp_team_t *team = (tid == 0) ? this_thr->th.th_team : NULL; local
2130 __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
466 __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
348 KA_TRACE(20, ("__kmp_push_task: T#%d team serialized; returning "
435 // when team ends
455 // new team
458 // team
460 __kmp_push_current_task_to_thread(kmp_info_t *this_thr, kmp_team_t *team, int tid) argument
1056 __kmp_init_implicit_task(ident_t *loc_ref, kmp_info_t *this_thr, kmp_team_t *team, int tid, int set_curr_task) argument
1183 kmp_team_t *team = thread->th.th_team; local
2336 kmp_team_t *team = thr->th.th_team; local
2439 kmp_team_t *team = thread->th.th_team; local
2460 kmp_team_t *team; local
3220 kmp_team_t *team = thread->th.th_team; local
3321 __kmp_allocate_task_team(kmp_info_t *thread, kmp_team_t *team) argument
3475 __kmp_task_team_setup(kmp_info_t *this_thr, kmp_team_t *team, int always) argument
3537 __kmp_task_team_sync(kmp_info_t *this_thr, kmp_team_t *team) argument
3605 __kmp_tasking_barrier(kmp_team_t *team, kmp_info_t *thread, int gtid) argument
3829 kmp_team_t *team = taskdata->td_team; local
3902 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
4107 kmp_team_t *team = th->th.th_team; local
4176 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
1904 kmp_team_t *team = th->th.th_team; local
2158 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)
1841 kmp_team_t *team; member in struct:kmp_bstate
1873 // master of the team accesses these fields: the first one is increased by
2073 // The tt_found_tasks flag is a signal to all threads in the team tha
3061 __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]);

Completed in 201 milliseconds