Searched refs:new_nth (Results 1 – 2 of 2) sorted by relevance
2623 void __kmp_set_num_threads(int new_nth, int gtid) { in __kmp_set_num_threads() argument2627 KF_TRACE(10, ("__kmp_set_num_threads: new __kmp_nth = %d\n", new_nth)); in __kmp_set_num_threads()2630 if (new_nth < 1) in __kmp_set_num_threads()2631 new_nth = 1; in __kmp_set_num_threads()2632 else if (new_nth > __kmp_max_nth) in __kmp_set_num_threads()2633 new_nth = __kmp_max_nth; in __kmp_set_num_threads()2635 KMP_COUNT_VALUE(OMP_set_numthreads, new_nth); in __kmp_set_num_threads()2637 if (thread->th.th_current_task->td_icvs.nproc == new_nth) in __kmp_set_num_threads()2642 set__nproc(thread, new_nth); in __kmp_set_num_threads()2649 (root->r.r_hot_team->t.t_nproc > new_nth) in __kmp_set_num_threads()[all …]
3247 extern void __kmp_set_num_threads(int new_nth, int gtid);