Lines Matching defs:nproc
234 kmp_uint32 nproc;
238 nproc = this_thr->th.th_team_nproc;
263 if (group_end > nproc)
264 group_end = nproc;
318 for (size_t thr = 0; thr < nproc; thr += b->threads_per_group) {
352 for (size_t thr = b->threads_per_group; thr < nproc;
499 size_t nproc = this_thr->th.th_team_nproc;
501 if (nproc < group_end)
502 group_end = nproc;
524 size_t nproc = this_thr->th.th_team_nproc;
525 __kmp_dist_barrier_wakeup(bt, team, tid + b->threads_per_group, nproc,
539 size_t nproc = this_thr->th.th_team_nproc;
541 if (nproc < group_end)
542 group_end = nproc;
595 int nproc = this_thr->th.th_team_nproc;
601 for (i = 1; i < nproc; ++i) {
604 if (i + 1 < nproc)
668 kmp_uint32 nproc = this_thr->th.th_team_nproc;
679 if (nproc > 1) {
685 for (i = 1; i < nproc; ++i) {
697 for (i = 1; i < nproc; ++i) {
700 if (i + 1 < nproc)
802 kmp_uint32 nproc = this_thr->th.th_team_nproc;
824 if (child_tid < nproc) {
833 if (child + 1 <= branch_factor && child_tid + 1 < nproc)
866 } while (child <= branch_factor && child_tid < nproc);
887 if (nproc > 1) // New value was already computed above
907 kmp_uint32 nproc;
959 nproc = this_thr->th.th_team_nproc;
962 if (child_tid < nproc) {
971 if (child + 1 <= branch_factor && child_tid + 1 < nproc)
999 } while (child <= branch_factor && child_tid < nproc);
1293 kmp_uint32 nproc, int gtid,
1298 bool team_sz_changed = nproc != thr_bar->nproc;
1303 __kmp_get_hierarchy(nproc, thr_bar);
1345 thr_bar->nproc = nproc;
1349 if (thr_bar->leaf_kids && (kmp_uint32)tid + thr_bar->leaf_kids + 1 > nproc)
1350 __kmp_type_convert(nproc - tid - 1, &(thr_bar->leaf_kids));
1364 kmp_uint32 nproc = this_thr->th.th_team_nproc;
1390 (void)__kmp_init_hierarchical_barrier_thread(bt, thr_bar, nproc, gtid, tid,
1433 if (last > nproc)
1434 last = nproc;
1462 if (last > nproc)
1463 last = nproc;
1533 kmp_uint32 nproc;
1586 nproc = this_thr->th.th_team_nproc;
1605 team_change = __kmp_init_hierarchical_barrier_thread(bt, thr_bar, nproc, gtid,
1653 for (child_tid = thr_bar->skip_per_level[1]; child_tid < (int)nproc;
1682 if (last > nproc)
1683 last = nproc;
1709 if (last > nproc)
1710 last = nproc;
1957 int nproc = this_thr->th.th_team_nproc;
1962 loc, nproc);
1968 1, loc, nproc);
1977 for (i = 1; i < nproc; ++i) {
1986 loc, nproc);
2197 int nproc = this_thr->th.th_team_nproc;
2203 KMP_DEBUG_ASSERT(nproc == team->t.t_nproc);
2365 loc, nproc);
2369 loc, nproc);
2378 for (int i = 1; i < nproc; ++i) {
2386 loc, nproc);
2405 gtid, team_id, tid, nproc));
2653 KMP_DEBUG_ASSERT((!TCR_4(__kmp_init_parallel)) || new_icvs->nproc);