Lines Matching refs:nthreads

2083     kmp_int32 nthreads = this_thr->th.th_team_nproc;  local
2084 for (int i = 0; i < nthreads; ++i) {
3370 kmp_int32 nthreads, victim_tid = -2, use_own_tasks = 1, new_victim = 0, local
3388 nthreads = task_team->tt.tt_nproc;
3390 KMP_DEBUG_ASSERT(nthreads > 1 || task_team->tt.tt_found_proxy_tasks ||
3404 if ((task == NULL) && (nthreads > 1)) { // Steal a task finally
3422 victim_tid = __kmp_get_random(thread) % (nthreads - 1);
3573 if (nthreads == 1 &&
3654 int nthreads, i, is_init_thread; local
3662 nthreads = task_team->tt.tt_nproc;
3663 KMP_DEBUG_ASSERT(nthreads > 0);
3664 KMP_DEBUG_ASSERT(nthreads == this_thr->th.th_team->t.t_nproc);
3685 for (i = 0; i < nthreads; i++) {
3811 kmp_int32 nthreads, maxthreads; local
3820 nthreads = task_team->tt.tt_nproc;
3834 if (maxthreads < nthreads) {
3844 __kmp_gtid_from_thread(thread), task_team, nthreads, maxthreads));
3850 nthreads * sizeof(kmp_thread_data_t));
3852 KMP_MEMCPY_S((void *)new_data, nthreads * sizeof(kmp_thread_data_t),
3857 for (i = maxthreads; i < nthreads; i++) {
3868 __kmp_gtid_from_thread(thread), task_team, nthreads));
3873 nthreads * sizeof(kmp_thread_data_t));
3876 for (i = 0; i < nthreads; i++) {
3882 task_team->tt.tt_max_threads = nthreads;
3889 for (i = 0; i < nthreads; i++) {
3893 if (thread_data->td.td_deque_last_stolen >= nthreads) {
3950 int nthreads; local
3995 task_team->tt.tt_nproc = nthreads = team->t.t_nproc;
3997 KMP_ATOMIC_ST_REL(&task_team->tt.tt_unfinished_threads, nthreads);
4533 kmp_int32 nthreads = team->t.t_nproc; local
4538 kmp_int32 start_k = start % nthreads;
4545 k = (k + 1) % nthreads;
4555 for (int i = 0; i < nthreads; ++i) {