Lines Matching defs:new_nthreads
113 int new_nthreads);
114 void __kmp_add_threads_to_team(kmp_team_t *team, int new_nthreads);
770 int new_nthreads;
777 new_nthreads = set_nthreads;
783 new_nthreads = __kmp_load_balance_nproc(root, set_nthreads);
784 if (new_nthreads == 1) {
790 if (new_nthreads < set_nthreads) {
793 master_tid, new_nthreads));
798 new_nthreads = __kmp_avail_proc - __kmp_nth +
800 if (new_nthreads <= 1) {
806 if (new_nthreads < set_nthreads) {
809 master_tid, new_nthreads));
811 new_nthreads = set_nthreads;
815 new_nthreads = __kmp_get_random(parent_team->t.t_threads[master_tid]);
816 new_nthreads = (new_nthreads % set_nthreads) + 1;
817 if (new_nthreads == 1) {
823 if (new_nthreads < set_nthreads) {
826 master_tid, new_nthreads));
834 if (__kmp_nth + new_nthreads -
859 new_nthreads = tl_nthreads;
865 if (cg_nthreads + new_nthreads -
890 new_nthreads = tl_nthreads;
906 if (__kmp_nth + new_nthreads -
910 int slotsRequired = __kmp_nth + new_nthreads -
916 new_nthreads -= (slotsRequired - slotsAdded);
917 KMP_ASSERT(new_nthreads >= 1);
924 KMP_MSG(CantFormThrTeam, set_nthreads, new_nthreads),
929 KMP_MSG(CantFormThrTeam, set_nthreads, new_nthreads),
937 if (new_nthreads == 1) {
945 __kmp_get_gtid(), new_nthreads, set_nthreads));
949 if (this_thr->th.th_nt_strict && new_nthreads < set_nthreads) {
953 return new_nthreads;
9159 int new_nthreads) {
9209 team->t.b->update_num_threads(new_nthreads);
9213 void __kmp_add_threads_to_team(kmp_team_t *team, int new_nthreads) {
9221 for (int f = 1; f < new_nthreads; ++f) {
9233 int count = new_nthreads - 1;
9235 count = new_nthreads - 1;
9236 for (int f = 1; f < new_nthreads; ++f) {