Lines Matching refs:nthreads
2093 kmp_int32 nthreads = this_thr->th.th_team_nproc; local
2094 for (int i = 0; i < nthreads; ++i) {
3382 kmp_int32 nthreads, victim_tid = -2, use_own_tasks = 1, new_victim = 0, local
3400 nthreads = task_team->tt.tt_nproc;
3414 if ((task == NULL) && (nthreads > 1)) { // Steal a task finally
3432 victim_tid = __kmp_get_random(thread) % (nthreads - 1);
3583 if (nthreads == 1 &&
3664 int nthreads, i, is_init_thread; local
3672 nthreads = task_team->tt.tt_nproc;
3673 KMP_DEBUG_ASSERT(nthreads > 0);
3674 KMP_DEBUG_ASSERT(nthreads == this_thr->th.th_team->t.t_nproc);
3695 for (i = 0; i < nthreads; i++) {
3821 kmp_int32 nthreads, maxthreads; local
3830 nthreads = task_team->tt.tt_nproc;
3844 if (maxthreads < nthreads) {
3854 __kmp_gtid_from_thread(thread), task_team, nthreads, maxthreads));
3860 nthreads * sizeof(kmp_thread_data_t));
3862 KMP_MEMCPY_S((void *)new_data, nthreads * sizeof(kmp_thread_data_t),
3867 for (i = maxthreads; i < nthreads; i++) {
3878 __kmp_gtid_from_thread(thread), task_team, nthreads));
3883 nthreads * sizeof(kmp_thread_data_t));
3886 for (i = 0; i < nthreads; i++) {
3892 task_team->tt.tt_max_threads = nthreads;
3899 for (i = 0; i < nthreads; i++) {
3903 if (thread_data->td.td_deque_last_stolen >= nthreads) {
4539 kmp_int32 nthreads = team->t.t_nproc; local
4544 kmp_int32 start_k = start % nthreads;
4551 k = (k + 1) % nthreads;
4561 for (int i = 0; i < nthreads; ++i) {