Lines Matching defs:nth
122 new_nested_nth->nth = (int *)KMP_INTERNAL_MALLOC(new_size * sizeof(int));
124 new_nested_nth->nth[i] = 0;
126 new_nested_nth->nth[i] = thr->th.th_set_nested_nth[j];
1317 this_thr->th.th_current_task->td_icvs.nproc = nested_nth->nth[level + 1];
1373 this_thr->th.th_current_task->td_icvs.nproc = nested_nth->nth[level + 1];
1575 // the thread limit here. th_teams_size.nth is specific to this team nested
1579 master_th->th.th_teams_size.nth = parent_team->t.t_nproc;
1592 if (master_set_numthreads <= master_th->th.th_teams_size.nth) {
1597 int old_proc = master_th->th.th_teams_size.nth;
1613 int nth = __kmp_omp_num_threads(loc);
1614 if (nth > 0) { // 0 means debugger doesn't want to change num threads
1615 master_set_numthreads = nth;
2129 (parent_team->t.t_nested_nth->nth[level + 1] != nthreads_icv)) {
2130 nthreads_icv = parent_team->t.t_nested_nth->nth[level + 1];
2134 (nested_nth->nth[level + 1] != nthreads_icv))
2135 nthreads_icv = nested_nth->nth[level + 1];
2249 KMP_INTERNAL_FREE(team->t.t_nested_nth->nth);
2603 // the proper adjustment of th_teams_size.nth after the fork in
2606 if (master_th->th.th_team_nproc < master_th->th.th_teams_size.nth) {
2608 int new_num = master_th->th.th_teams_size.nth;
4070 int i, n, nth;
4077 nth = hot_teams[level].hot_team_nth;
4078 n = nth - 1; // primary thread is not freed
4080 for (i = 0; i < nth; ++i) {
5754 KMP_INTERNAL_FREE(team->t.t_nested_nth->nth);
7444 while ((j < __kmp_nested_nth.used) && !__kmp_nested_nth.nth[j]) {
7445 __kmp_nested_nth.nth[j] = __kmp_dflt_team_nth = __kmp_dflt_team_nth_ub =
7780 thr->th.th_set_nproc = thr->th.th_teams_size.nth;
7810 if (thr->th.th_team_nproc < thr->th.th_teams_size.nth)
7811 thr->th.th_teams_size.nth = thr->th.th_team_nproc;
7956 thr->th.th_teams_size.nth = num_threads;
8351 KMP_INTERNAL_FREE(__kmp_nested_nth.nth);
8352 __kmp_nested_nth.nth = NULL;
9326 __kmp_nested_nth.nth =
9327 (int *)KMP_INTERNAL_REALLOC(__kmp_nested_nth.nth, levels * sizeof(int));
9375 __kmp_nested_nth.nth[i] = __kmp_nesting_nth_level[i];