reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
7199 if (num_threads == 0) { 7200 num_threads = __kmp_avail_proc / num_teams; 7204 if (num_threads > __kmp_dflt_team_nth) { 7205 num_threads = __kmp_dflt_team_nth; // honor nthreads-var ICV 7207 if (num_threads > thr->th.th_current_task->td_icvs.thread_limit) { 7208 num_threads = thr->th.th_current_task->td_icvs.thread_limit; 7210 if (num_teams * num_threads > __kmp_teams_max_nth) { 7211 num_threads = __kmp_teams_max_nth / num_teams; 7216 thr->th.th_current_task->td_icvs.thread_limit = num_threads; 7218 if (num_threads > __kmp_dflt_team_nth) { 7219 num_threads = __kmp_dflt_team_nth; // honor nthreads-var ICV 7221 if (num_teams * num_threads > __kmp_teams_max_nth) { 7226 KMP_MSG(CantFormThrTeam, num_threads, new_threads), 7229 num_threads = new_threads; 7232 thr->th.th_teams_size.nth = num_threads;