Lines Matching refs:new_nproc
88 static void __kmp_initialize_team(kmp_team_t *team, int new_nproc,
98 void __kmp_setup_icv_copy(kmp_team_t *team, int new_nproc,
4745 static void __kmp_initialize_team(kmp_team_t *team, int new_nproc, in __kmp_initialize_team() argument
4752 KMP_DEBUG_ASSERT(new_nproc <= team->t.t_max_nproc); in __kmp_initialize_team()
4758 team->t.t_serialized = new_nproc > 1 ? 0 : 1; in __kmp_initialize_team()
4759 team->t.t_nproc = new_nproc; in __kmp_initialize_team()
5134 __kmp_allocate_team(kmp_root_t *root, int new_nproc, int max_nproc, in __kmp_allocate_team() argument
5149 KMP_DEBUG_ASSERT(new_nproc >= 1 && argc >= 0); in __kmp_allocate_team()
5150 KMP_DEBUG_ASSERT(max_nproc >= new_nproc); in __kmp_allocate_team()
5185 KMP_DEBUG_ASSERT(new_nproc == 1); in __kmp_allocate_team()
5189 if (use_hot_team && new_nproc > 1) { in __kmp_allocate_team()
5190 KMP_DEBUG_ASSERT(new_nproc <= max_nproc); in __kmp_allocate_team()
5204 if (team->t.t_nproc != new_nproc && in __kmp_allocate_team()
5208 __kmp_resize_dist_barrier(team, old_nthr, new_nproc); in __kmp_allocate_team()
5218 if (team->t.t_nproc == new_nproc) { // Check changes in number of threads in __kmp_allocate_team()
5262 } else if (team->t.t_nproc > new_nproc) { in __kmp_allocate_team()
5265 new_nproc)); in __kmp_allocate_team()
5271 __kmp_add_threads_to_team(team, new_nproc); in __kmp_allocate_team()
5276 for (f = new_nproc; f < team->t.t_nproc; f++) { in __kmp_allocate_team()
5287 hot_teams[level].hot_team_nth = new_nproc; in __kmp_allocate_team()
5290 for (f = new_nproc; f < team->t.t_nproc; f++) { in __kmp_allocate_team()
5300 for (f = new_nproc; f < team->t.t_nproc; ++f) { in __kmp_allocate_team()
5312 team->t.t_nproc = new_nproc; in __kmp_allocate_team()
5319 for (f = 0; f < new_nproc; ++f) { in __kmp_allocate_team()
5320 team->t.t_threads[f]->th.th_team_nproc = new_nproc; in __kmp_allocate_team()
5348 new_nproc)); in __kmp_allocate_team()
5354 if (new_nproc < avail_threads) in __kmp_allocate_team()
5355 avail_threads = new_nproc; in __kmp_allocate_team()
5370 if (hot_teams[level].hot_team_nth >= new_nproc) { in __kmp_allocate_team()
5374 team->t.t_nproc = new_nproc; // just get reserved threads involved in __kmp_allocate_team()
5379 hot_teams[level].hot_team_nth = new_nproc; // adjust hot team max size in __kmp_allocate_team()
5381 if (team->t.t_max_nproc < new_nproc) { in __kmp_allocate_team()
5383 __kmp_reallocate_team_arrays(team, new_nproc); in __kmp_allocate_team()
5398 for (f = team->t.t_nproc; f < new_nproc; f++) { in __kmp_allocate_team()
5435 __kmp_add_threads_to_team(team, new_nproc); in __kmp_allocate_team()
5439 __kmp_initialize_team(team, new_nproc, new_icvs, in __kmp_allocate_team()
5443 KMP_DEBUG_ASSERT(team->t.t_nproc == new_nproc); in __kmp_allocate_team()
5470 for (f = 1; f < new_nproc; ++f) { in __kmp_allocate_team()
5482 for (f = 1; f < new_nproc; ++f) { in __kmp_allocate_team()
5539 __kmp_initialize_team(team, new_nproc, new_icvs, NULL); in __kmp_allocate_team()
5606 __kmp_initialize_team(team, new_nproc, new_icvs, NULL); in __kmp_allocate_team()
5617 __kmp_print_team_storage_map("team", team, team->t.t_id, new_nproc); in __kmp_allocate_team()