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;
498 size_t nproc = this_thr->th.th_team_nproc;
500 if (nproc < group_end)
501 group_end = nproc;
523 size_t nproc = this_thr->th.th_team_nproc;
524 __kmp_dist_barrier_wakeup(bt, team, tid + b->threads_per_group, nproc,
538 size_t nproc = this_thr->th.th_team_nproc;
540 if (nproc < group_end)
541 group_end = nproc;
594 int nproc = this_thr->th.th_team_nproc;
600 for (i = 1; i < nproc; ++i) {
603 if (i + 1 < nproc)
667 kmp_uint32 nproc = this_thr->th.th_team_nproc;
678 if (nproc > 1) {
684 for (i = 1; i < nproc; ++i) {
696 for (i = 1; i < nproc; ++i) {
699 if (i + 1 < nproc)
801 kmp_uint32 nproc = this_thr->th.th_team_nproc;
823 if (child_tid < nproc) {
832 if (child + 1 <= branch_factor && child_tid + 1 < nproc)
865 } while (child <= branch_factor && child_tid < nproc);
886 if (nproc > 1) // New value was already computed above
906 kmp_uint32 nproc;
958 nproc = this_thr->th.th_team_nproc;
961 if (child_tid < nproc) {
970 if (child + 1 <= branch_factor && child_tid + 1 < nproc)
998 } while (child <= branch_factor && child_tid < nproc);
1292 kmp_uint32 nproc, int gtid,
1297 bool team_sz_changed = nproc != thr_bar->nproc;
1302 __kmp_get_hierarchy(nproc, thr_bar);
1344 thr_bar->nproc = nproc;
1348 if (thr_bar->leaf_kids && (kmp_uint32)tid + thr_bar->leaf_kids + 1 > nproc)
1349 __kmp_type_convert(nproc - tid - 1, &(thr_bar->leaf_kids));
1363 kmp_uint32 nproc = this_thr->th.th_team_nproc;
1389 (void)__kmp_init_hierarchical_barrier_thread(bt, thr_bar, nproc, gtid, tid,
1432 if (last > nproc)
1433 last = nproc;
1461 if (last > nproc)
1462 last = nproc;
1532 kmp_uint32 nproc;
1585 nproc = this_thr->th.th_team_nproc;
1604 team_change = __kmp_init_hierarchical_barrier_thread(bt, thr_bar, nproc, gtid,
1652 for (child_tid = thr_bar->skip_per_level[1]; child_tid < (int)nproc;
1681 if (last > nproc)
1682 last = nproc;
1708 if (last > nproc)
1709 last = nproc;
1939 int nproc = this_thr->th.th_team_nproc;
1944 loc, nproc);
1950 1, loc, nproc);
1959 for (i = 1; i < nproc; ++i) {
1968 loc, nproc);
2179 int nproc = this_thr->th.th_team_nproc;
2185 KMP_DEBUG_ASSERT(nproc == team->t.t_nproc);
2345 loc, nproc);
2349 loc, nproc);
2358 for (int i = 1; i < nproc; ++i) {
2366 loc, nproc);
2385 gtid, team_id, tid, nproc));
2632 KMP_DEBUG_ASSERT((!TCR_4(__kmp_init_parallel)) || new_icvs->nproc);