Lines Matching full:nproc

234   kmp_uint32 nproc;  in __kmp_dist_barrier_gather()  local
238 nproc = this_thr->th.th_team_nproc; in __kmp_dist_barrier_gather()
263 if (group_end > nproc) in __kmp_dist_barrier_gather()
264 group_end = nproc; in __kmp_dist_barrier_gather()
318 for (size_t thr = 0; thr < nproc; thr += b->threads_per_group) { in __kmp_dist_barrier_gather()
352 for (size_t thr = b->threads_per_group; thr < nproc; in __kmp_dist_barrier_gather()
498 size_t nproc = this_thr->th.th_team_nproc; in __kmp_dist_barrier_release() local
500 if (nproc < group_end) in __kmp_dist_barrier_release()
501 group_end = nproc; in __kmp_dist_barrier_release()
523 size_t nproc = this_thr->th.th_team_nproc; in __kmp_dist_barrier_release() local
524 __kmp_dist_barrier_wakeup(bt, team, tid + b->threads_per_group, nproc, in __kmp_dist_barrier_release()
538 size_t nproc = this_thr->th.th_team_nproc; in __kmp_dist_barrier_release() local
540 if (nproc < group_end) in __kmp_dist_barrier_release()
541 group_end = nproc; in __kmp_dist_barrier_release()
594 int nproc = this_thr->th.th_team_nproc; in __kmp_linear_barrier_gather_template() local
600 for (i = 1; i < nproc; ++i) { in __kmp_linear_barrier_gather_template()
603 if (i + 1 < nproc) in __kmp_linear_barrier_gather_template()
667 kmp_uint32 nproc = this_thr->th.th_team_nproc; in __kmp_linear_barrier_release_template() local
678 if (nproc > 1) { in __kmp_linear_barrier_release_template()
684 for (i = 1; i < nproc; ++i) { in __kmp_linear_barrier_release_template()
696 for (i = 1; i < nproc; ++i) { in __kmp_linear_barrier_release_template()
699 if (i + 1 < nproc) in __kmp_linear_barrier_release_template()
801 kmp_uint32 nproc = this_thr->th.th_team_nproc; in __kmp_tree_barrier_gather() local
823 if (child_tid < nproc) { in __kmp_tree_barrier_gather()
832 if (child + 1 <= branch_factor && child_tid + 1 < nproc) in __kmp_tree_barrier_gather()
865 } while (child <= branch_factor && child_tid < nproc); in __kmp_tree_barrier_gather()
886 if (nproc > 1) // New value was already computed above in __kmp_tree_barrier_gather()
906 kmp_uint32 nproc; in __kmp_tree_barrier_release() local
958 nproc = this_thr->th.th_team_nproc; in __kmp_tree_barrier_release()
961 if (child_tid < nproc) { in __kmp_tree_barrier_release()
970 if (child + 1 <= branch_factor && child_tid + 1 < nproc) in __kmp_tree_barrier_release()
998 } while (child <= branch_factor && child_tid < nproc); in __kmp_tree_barrier_release()
1292 kmp_uint32 nproc, int gtid, in __kmp_init_hierarchical_barrier_thread() argument
1297 bool team_sz_changed = nproc != thr_bar->nproc; in __kmp_init_hierarchical_barrier_thread()
1302 __kmp_get_hierarchy(nproc, thr_bar); in __kmp_init_hierarchical_barrier_thread()
1344 thr_bar->nproc = nproc; in __kmp_init_hierarchical_barrier_thread()
1348 if (thr_bar->leaf_kids && (kmp_uint32)tid + thr_bar->leaf_kids + 1 > nproc) in __kmp_init_hierarchical_barrier_thread()
1349 __kmp_type_convert(nproc - tid - 1, &(thr_bar->leaf_kids)); in __kmp_init_hierarchical_barrier_thread()
1363 kmp_uint32 nproc = this_thr->th.th_team_nproc; in __kmp_hierarchical_barrier_gather() local
1389 (void)__kmp_init_hierarchical_barrier_thread(bt, thr_bar, nproc, gtid, tid, in __kmp_hierarchical_barrier_gather()
1432 if (last > nproc) in __kmp_hierarchical_barrier_gather()
1433 last = nproc; in __kmp_hierarchical_barrier_gather()
1461 if (last > nproc) in __kmp_hierarchical_barrier_gather()
1462 last = nproc; in __kmp_hierarchical_barrier_gather()
1532 kmp_uint32 nproc; in __kmp_hierarchical_barrier_release() local
1585 nproc = this_thr->th.th_team_nproc; in __kmp_hierarchical_barrier_release()
1604 team_change = __kmp_init_hierarchical_barrier_thread(bt, thr_bar, nproc, gtid, in __kmp_hierarchical_barrier_release()
1652 for (child_tid = thr_bar->skip_per_level[1]; child_tid < (int)nproc; in __kmp_hierarchical_barrier_release()
1681 if (last > nproc) in __kmp_hierarchical_barrier_release()
1682 last = nproc; in __kmp_hierarchical_barrier_release()
1708 if (last > nproc) in __kmp_hierarchical_barrier_release()
1709 last = nproc; in __kmp_hierarchical_barrier_release()
1956 int nproc = this_thr->th.th_team_nproc; in __kmp_barrier_template() local
1961 loc, nproc); in __kmp_barrier_template()
1967 1, loc, nproc); in __kmp_barrier_template()
1976 for (i = 1; i < nproc; ++i) { in __kmp_barrier_template()
1985 loc, nproc); in __kmp_barrier_template()
2196 int nproc = this_thr->th.th_team_nproc; in __kmp_join_barrier() local
2202 KMP_DEBUG_ASSERT(nproc == team->t.t_nproc); in __kmp_join_barrier()
2364 loc, nproc); in __kmp_join_barrier()
2368 loc, nproc); in __kmp_join_barrier()
2377 for (int i = 1; i < nproc; ++i) { in __kmp_join_barrier()
2385 loc, nproc); in __kmp_join_barrier()
2404 gtid, team_id, tid, nproc)); in __kmp_join_barrier()
2652 KMP_DEBUG_ASSERT((!TCR_4(__kmp_init_parallel)) || new_icvs->nproc); in __kmp_setup_icv_copy()