Lines Matching refs:new_nproc
80 static void __kmp_initialize_team(kmp_team_t *team, int new_nproc,
90 void __kmp_setup_icv_copy(kmp_team_t *team, int new_nproc,
4482 static void __kmp_initialize_team(kmp_team_t *team, int new_nproc, in __kmp_initialize_team() argument
4489 KMP_DEBUG_ASSERT(new_nproc <= team->t.t_max_nproc); in __kmp_initialize_team()
4495 team->t.t_serialized = new_nproc > 1 ? 0 : 1; in __kmp_initialize_team()
4496 team->t.t_nproc = new_nproc; in __kmp_initialize_team()
4908 __kmp_allocate_team(kmp_root_t *root, int new_nproc, int max_nproc, in __kmp_allocate_team() argument
4922 KMP_DEBUG_ASSERT(new_nproc >= 1 && argc >= 0); in __kmp_allocate_team()
4923 KMP_DEBUG_ASSERT(max_nproc >= new_nproc); in __kmp_allocate_team()
4952 KMP_DEBUG_ASSERT(new_nproc == 1); in __kmp_allocate_team()
4956 if (use_hot_team && new_nproc > 1) { in __kmp_allocate_team()
4957 KMP_DEBUG_ASSERT(new_nproc <= max_nproc); in __kmp_allocate_team()
4974 if (team->t.t_nproc == new_nproc) { // Check changes in number of threads in __kmp_allocate_team()
5014 } else if (team->t.t_nproc > new_nproc) { in __kmp_allocate_team()
5017 new_nproc)); in __kmp_allocate_team()
5025 hot_teams[level].hot_team_nth = new_nproc; in __kmp_allocate_team()
5028 for (f = new_nproc; f < team->t.t_nproc; f++) { in __kmp_allocate_team()
5043 for (f = new_nproc; f < team->t.t_nproc; ++f) { in __kmp_allocate_team()
5055 team->t.t_nproc = new_nproc; in __kmp_allocate_team()
5062 for (f = 0; f < new_nproc; ++f) { in __kmp_allocate_team()
5063 team->t.t_threads[f]->th.th_team_nproc = new_nproc; in __kmp_allocate_team()
5095 new_nproc)); in __kmp_allocate_team()
5101 if (new_nproc < avail_threads) in __kmp_allocate_team()
5102 avail_threads = new_nproc; in __kmp_allocate_team()
5117 if (hot_teams[level].hot_team_nth >= new_nproc) { in __kmp_allocate_team()
5121 team->t.t_nproc = new_nproc; // just get reserved threads involved in __kmp_allocate_team()
5127 hot_teams[level].hot_team_nth = new_nproc; // adjust hot team max size in __kmp_allocate_team()
5129 if (team->t.t_max_nproc < new_nproc) { in __kmp_allocate_team()
5131 __kmp_reallocate_team_arrays(team, new_nproc); in __kmp_allocate_team()
5144 for (f = team->t.t_nproc; f < new_nproc; f++) { in __kmp_allocate_team()
5183 __kmp_initialize_team(team, new_nproc, new_icvs, in __kmp_allocate_team()
5187 KMP_DEBUG_ASSERT(team->t.t_nproc == new_nproc); in __kmp_allocate_team()
5224 for (f = 1; f < new_nproc; ++f) { in __kmp_allocate_team()
5236 for (f = 1; f < new_nproc; ++f) { in __kmp_allocate_team()
5286 __kmp_initialize_team(team, new_nproc, new_icvs, NULL); in __kmp_allocate_team()
5345 __kmp_initialize_team(team, new_nproc, new_icvs, NULL); in __kmp_allocate_team()
5356 __kmp_print_team_storage_map("team", team, team->t.t_id, new_nproc); in __kmp_allocate_team()