/netbsd-current/external/gpl3/gcc.old/dist/libgomp/ |
H A D | barrier.c | 35 struct gomp_team *team = thr->ts.team; local 38 if (team == NULL) 41 gomp_team_barrier_wait (&team->barrier); 48 struct gomp_team *team = thr->ts.team; local 53 return gomp_team_barrier_wait_cancel (&team->barrier);
|
H A D | single.c | 40 struct gomp_team *team = thr->ts.team; local 43 if (__builtin_expect (team == NULL, 0)) 47 return __sync_bool_compare_and_swap (&team->single_count, single_count, 80 gomp_team_barrier_wait (&thr->ts.team->barrier); 96 struct gomp_team *team = thr->ts.team; local 98 if (team != NULL) 101 gomp_team_barrier_wait (&team->barrier);
|
H A D | work.c | 26 /* This file contains routines to manage the work-share queue for a team 35 /* Allocate a new work share structure, preferably from current team's 39 alloc_work_share (struct gomp_team *team) argument 45 if (team->work_share_list_alloc != NULL) 47 ws = team->work_share_list_alloc; 48 team->work_share_list_alloc = ws->next_free; 53 ws = team->work_share_list_free; 62 team->work_share_list_alloc = next->next_free; 66 gomp_mutex_lock (&team->work_share_list_free_lock); 67 ws = team 153 free_work_share(struct gomp_team *team, struct gomp_work_share *ws) argument 188 struct gomp_team *team = thr->ts.team; local 225 struct gomp_team *team = thr->ts.team; local 258 struct gomp_team *team = thr->ts.team; local 284 struct gomp_team *team = thr->ts.team; local [all...] |
H A D | team.c | 26 /* This file handles the maintenance of threads in response to team 65 loop in which a thread waits to be called up to become part of a team. */ 96 thr->ts.team->ordered_release[thr->ts.team_id] = &thr->release; 103 struct gomp_team *team = thr->ts.team; local 106 gomp_barrier_wait (&team->barrier); 109 gomp_team_barrier_wait_final (&team->barrier); 111 gomp_barrier_wait_last (&team->barrier); 120 struct gomp_team *team = thr->ts.team; local 166 struct gomp_team *team; local 216 free_team(struct gomp_team *team) argument 307 gomp_team_start(void (*fn) (void *), void *data, unsigned nthreads, unsigned flags, struct gomp_team *team, struct gomp_taskgroup *taskgroup) argument 931 struct gomp_team *team = thr->ts.team; local [all...] |
H A D | parallel.c | 84 in the contention group. If thr->team is NULL, this isn't 88 if (thr->ts.team == NULL || pool == NULL) 137 struct gomp_team *team = thr->ts.team; local 138 unsigned int nthreads = team ? team->nthreads : 1; 144 if (thr->ts.team == NULL) 199 struct gomp_team *team = thr->ts.team; local 202 if (team 237 struct gomp_team *team = thr->ts.team; local 272 struct gomp_team *team = gomp_thread ()->ts.team; local [all...] |
H A D | task.c | 331 then the task may be executed by any member of the team. 353 struct gomp_team *team = thr->ts.team; local 366 if (__builtin_expect (gomp_cancel_var, 0) && team) 368 if (gomp_team_barrier_cancelled (&team->barrier)) 386 if (!if_clause || team == NULL 388 || team->task_count > 64 * team->nthreads) 434 gomp_mutex_lock (&team->task_lock); 436 gomp_mutex_unlock (&team 598 gomp_target_task_completion(struct gomp_team *team, struct gomp_task *task) argument 658 struct gomp_team *team = ttask->team; local 684 struct gomp_team *team = thr->ts.team; local 1062 gomp_task_run_pre(struct gomp_task *child_task, struct gomp_task *parent, struct gomp_team *team) argument 1149 gomp_task_run_post_handle_dependers(struct gomp_task *child_task, struct gomp_team *team) argument 1225 gomp_task_run_post_handle_depend(struct gomp_task *child_task, struct gomp_team *team) argument 1308 struct gomp_team *team = thr->ts.team; local 1433 struct gomp_team *team = thr->ts.team; local 1584 struct gomp_team *team = thr->ts.team; local 1624 struct gomp_team *team = thr->ts.team; local 1853 struct gomp_team *team = thr->ts.team; local 1869 struct gomp_team *team = thr->ts.team; local 2117 struct gomp_team *team = gomp_new_team (1); local 2175 struct gomp_team *team = thr->ts.team; local 2291 struct gomp_team *team = thr->ts.team; local 2302 struct gomp_team *team = thr->ts.team; local 2320 struct gomp_team *team = thr->ts.team; local [all...] |
H A D | ordered.c | 42 struct gomp_team *team = thr->ts.team; local 47 if (team == NULL || team->nthreads == 1) 51 if (index >= team->nthreads) 52 index -= team->nthreads; 59 gomp_sem_post (team->ordered_release[thr->ts.team_id]); 73 struct gomp_team *team = thr->ts.team; local 78 if (team 108 struct gomp_team *team = thr->ts.team; local 156 struct gomp_team *team = thr->ts.team; local 174 struct gomp_team *team = thr->ts.team; local 198 struct gomp_team *team = thr->ts.team; local 266 struct gomp_team *team = thr->ts.team; local 516 struct gomp_team *team = thr->ts.team; local [all...] |
H A D | taskloop.c | 31 then the task may be executed by any member of the team. */ 40 struct gomp_team *team = thr->ts.team; local 53 if (team && gomp_team_barrier_cancelled (&team->barrier)) 146 num_tasks = team ? team->nthreads : 1; 190 if ((flags & GOMP_TASK_FLAG_IF) == 0 || team == NULL 192 || team->task_count + num_tasks > 64 * team [all...] |
/netbsd-current/external/gpl3/gcc/dist/libgomp/ |
H A D | barrier.c | 35 struct gomp_team *team = thr->ts.team; local 38 if (team == NULL) 41 gomp_team_barrier_wait (&team->barrier); 48 struct gomp_team *team = thr->ts.team; local 53 return gomp_team_barrier_wait_cancel (&team->barrier);
|
H A D | single.c | 40 struct gomp_team *team = thr->ts.team; local 43 if (__builtin_expect (team == NULL, 0)) 47 return __sync_bool_compare_and_swap (&team->single_count, single_count, 80 gomp_team_barrier_wait (&thr->ts.team->barrier); 96 struct gomp_team *team = thr->ts.team; local 98 if (team != NULL) 101 gomp_team_barrier_wait (&team->barrier);
|
H A D | work.c | 26 /* This file contains routines to manage the work-share queue for a team 35 /* Allocate a new work share structure, preferably from current team's 39 alloc_work_share (struct gomp_team *team) argument 45 if (team->work_share_list_alloc != NULL) 47 ws = team->work_share_list_alloc; 48 team->work_share_list_alloc = ws->next_free; 53 ws = team->work_share_list_free; 62 team->work_share_list_alloc = next->next_free; 66 gomp_mutex_lock (&team->work_share_list_free_lock); 67 ws = team 155 free_work_share(struct gomp_team *team, struct gomp_work_share *ws) argument 190 struct gomp_team *team = thr->ts.team; local 232 struct gomp_team *team = thr->ts.team; local 265 struct gomp_team *team = thr->ts.team; local 291 struct gomp_team *team = thr->ts.team; local [all...] |
H A D | team.c | 26 /* This file handles the maintenance of threads in response to team 67 loop in which a thread waits to be called up to become part of a team. */ 102 thr->ts.team->ordered_release[thr->ts.team_id] = &thr->release; 109 struct gomp_team *team = thr->ts.team; local 112 gomp_barrier_wait (&team->barrier); 115 gomp_team_barrier_wait_final (&team->barrier); 117 gomp_barrier_wait_last (&team->barrier); 126 struct gomp_team *team = thr->ts.team; local 172 struct gomp_team *team; local 229 free_team(struct gomp_team *team) argument 320 gomp_team_start(void (*fn) (void *), void *data, unsigned nthreads, unsigned flags, struct gomp_team *team, struct gomp_taskgroup *taskgroup) argument 950 struct gomp_team *team = thr->ts.team; local [all...] |
H A D | parallel.c | 91 in the contention group. If thr->team is NULL, this isn't 95 if (thr->ts.team == NULL || pool == NULL) 144 struct gomp_team *team = thr->ts.team; local 145 unsigned int nthreads = team ? team->nthreads : 1; 151 if (thr->ts.team == NULL) 206 struct gomp_team *team = thr->ts.team; local 209 if (team 244 struct gomp_team *team = thr->ts.team; local 279 struct gomp_team *team = gomp_thread ()->ts.team; local [all...] |
H A D | ordered.c | 42 struct gomp_team *team = thr->ts.team; local 47 if (team == NULL || team->nthreads == 1) 51 if (index >= team->nthreads) 52 index -= team->nthreads; 59 gomp_sem_post (team->ordered_release[thr->ts.team_id]); 73 struct gomp_team *team = thr->ts.team; local 78 if (team 108 struct gomp_team *team = thr->ts.team; local 156 struct gomp_team *team = thr->ts.team; local 174 struct gomp_team *team = thr->ts.team; local 198 struct gomp_team *team = thr->ts.team; local 266 struct gomp_team *team = thr->ts.team; local 516 struct gomp_team *team = thr->ts.team; local [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/nvptx/ |
H A D | team.c | 40 sets up a per-team thread pool and transfers control by calling FN (FN_DATA) 87 to be called up to become part of a team. */ 106 gomp_team_barrier_wait_final (&thr->ts.team->barrier); 115 /* Launch a team. */ 119 unsigned flags, struct gomp_team *team, 133 /* Always save the previous state, even if this isn't a nested team. 136 team->prev_ts = thr->ts; 138 thr->ts.team = team; 143 thr->ts.work_share = &team 118 gomp_team_start(void (*fn) (void *), void *data, unsigned nthreads, unsigned flags, struct gomp_team *team, struct gomp_taskgroup *taskgroup) argument [all...] |
H A D | bar.c | 84 struct gomp_team *team = thr->ts.team; local 87 team->work_share_cancelled = 0; 88 if (__builtin_expect (team->task_count, 0)) 148 struct gomp_team *team = thr->ts.team; local 151 team->work_share_cancelled = 0; 152 if (__builtin_expect (team->task_count, 0)) 195 gomp_team_barrier_cancel (struct gomp_team *team) argument 197 gomp_mutex_lock (&team [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/gcn/ |
H A D | team.c | 35 sets up a per-team thread pool and transfers control by returning to 54 Every team will do this, but that should be harmless. */ 60 /* Initialize the team arena for optimized memory allocation. 62 passed in via the kernargs. Each team takes a small slice of it. */ 72 /* Allocate and initialize the team-local-storage data. */ 77 /* Allocate and initialize a pool of threads in the team. 110 to be called up to become part of a team. */ 133 const char msg[] = ("team master not responding;" 143 gomp_team_barrier_wait_final (&thr->ts.team->barrier); 149 /* Launch a team 152 gomp_team_start(void (*fn) (void *), void *data, unsigned nthreads, unsigned flags, struct gomp_team *team, struct gomp_taskgroup *taskgroup) argument [all...] |
H A D | bar.c | 86 struct gomp_team *team = thr->ts.team; local 89 team->work_share_cancelled = 0; 90 if (__builtin_expect (team->task_count, 0)) 162 struct gomp_team *team = thr->ts.team; local 165 team->work_share_cancelled = 0; 166 if (__builtin_expect (team->task_count, 0)) 221 gomp_team_barrier_cancel (struct gomp_team *team) argument 223 gomp_mutex_lock (&team [all...] |
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/gcn/ |
H A D | team.c | 35 sets up a per-team thread pool and transfers control by returning to 54 Every team will do this, but that should be harmless. */ 60 /* Initialize the team arena for optimized memory allocation. 62 passed in via the kernargs. Each team takes a small slice of it. */ 72 /* Allocate and initialize the team-local-storage data. */ 77 /* Allocate and initialize a pool of threads in the team. 110 to be called up to become part of a team. */ 133 const char msg[] = ("team master not responding;" 143 gomp_team_barrier_wait_final (&thr->ts.team->barrier); 149 /* Launch a team 152 gomp_team_start(void (*fn) (void *), void *data, unsigned nthreads, unsigned flags, struct gomp_team *team, struct gomp_taskgroup *taskgroup) argument [all...] |
H A D | bar.c | 88 struct gomp_team *team = thr->ts.team; local 91 team->work_share_cancelled = 0; 92 if (__builtin_expect (team->task_count, 0)) 165 struct gomp_team *team = thr->ts.team; local 168 team->work_share_cancelled = 0; 169 if (__builtin_expect (team->task_count, 0)) 226 gomp_team_barrier_cancel (struct gomp_team *team) argument 228 gomp_mutex_lock (&team [all...] |
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/nvptx/ |
H A D | team.c | 41 sets up a per-team thread pool and transfers control by calling FN (FN_DATA) 90 to be called up to become part of a team. */ 109 gomp_team_barrier_wait_final (&thr->ts.team->barrier); 118 /* Launch a team. */ 122 unsigned flags, struct gomp_team *team, 136 /* Always save the previous state, even if this isn't a nested team. 139 team->prev_ts = thr->ts; 141 thr->ts.team = team; 146 thr->ts.work_share = &team 121 gomp_team_start(void (*fn) (void *), void *data, unsigned nthreads, unsigned flags, struct gomp_team *team, struct gomp_taskgroup *taskgroup) argument [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/linux/ |
H A D | bar.c | 89 struct gomp_team *team = thr->ts.team; local 92 team->work_share_cancelled = 0; 93 if (__builtin_expect (team->task_count, 0)) 153 struct gomp_team *team = thr->ts.team; local 156 team->work_share_cancelled = 0; 157 if (__builtin_expect (team->task_count, 0)) 200 gomp_team_barrier_cancel (struct gomp_team *team) argument 202 gomp_mutex_lock (&team [all...] |
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/linux/ |
H A D | bar.c | 89 struct gomp_team *team = thr->ts.team; local 92 team->work_share_cancelled = 0; 93 if (__builtin_expect (team->task_count, 0)) 153 struct gomp_team *team = thr->ts.team; local 156 team->work_share_cancelled = 0; 157 if (__builtin_expect (team->task_count, 0)) 200 gomp_team_barrier_cancel (struct gomp_team *team) argument 202 gomp_mutex_lock (&team [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
H A D | bar.c | 123 struct gomp_team *team = thr->ts.team; local 125 team->work_share_cancelled = 0; 126 if (team->task_count) 185 struct gomp_team *team = thr->ts.team; local 187 team->work_share_cancelled = 0; 188 if (team->task_count) 272 gomp_team_barrier_cancel (struct gomp_team *team) argument 274 if (team [all...] |
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/posix/ |
H A D | bar.c | 123 struct gomp_team *team = thr->ts.team; local 125 team->work_share_cancelled = 0; 126 if (team->task_count) 185 struct gomp_team *team = thr->ts.team; local 187 team->work_share_cancelled = 0; 188 if (team->task_count) 272 gomp_team_barrier_cancel (struct gomp_team *team) argument 274 if (team [all...] |