Lines Matching refs:t_threads

569       -1, &team->t.t_threads[0], &team->t.t_threads[num_thr],
570 sizeof(kmp_info_t *) * num_thr, "%s_%d.t_threads", header, team_id);
773 kmp_info_t *this_thr = parent_team->t.t_threads[master_tid];
815 new_nthreads = __kmp_get_random(parent_team->t.t_threads[master_tid]);
1015 team->t.t_threads[0] = master_th;
1023 team->t.t_threads[i] = thr;
1038 kmp_balign_t *balign = team->t.t_threads[i]->th.th_bar;
1084 KMP_DEBUG_ASSERT(team->t.t_threads[1]->th.th_task_state == 0 ||
1085 team->t.t_threads[1]->th.th_task_state == 1);
1087 team->t.t_threads[1]->th.th_task_state);
1102 kmp_info_t *thr = team->t.t_threads[i];
1260 new_team->t.t_threads[0] = this_thr;
1281 KMP_DEBUG_ASSERT(serial_team->t.t_threads);
1282 KMP_DEBUG_ASSERT(serial_team->t.t_threads[0] == this_thr);
1359 KMP_DEBUG_ASSERT(serial_team->t.t_threads);
1360 KMP_DEBUG_ASSERT(serial_team->t.t_threads[0] == this_thr);
1594 kmp_info_t **other_threads = parent_team->t.t_threads;
1645 kmp_info_t **other_threads = parent_team->t.t_threads;
2609 kmp_info_t **other_threads = team->t.t_threads;
2703 master_th->th.th_team_master = parent_team->t.t_threads[0];
2832 KMP_DEBUG_ASSERT(hot_team->t.t_threads[f] != NULL);
2836 hot_team->t.t_threads[f]->th.th_task_team = NULL;
2838 __kmp_free_thread(hot_team->t.t_threads[f]);
2839 hot_team->t.t_threads[f] = NULL;
2858 KMP_DEBUG_ASSERT(hot_team->t.t_threads[f] != NULL);
2859 hot_team->t.t_threads[f]->th.th_team_nproc = new_nth;
3244 team->t.t_threads =
3262 /* Note: this does not free the threads in t_threads (__kmp_free_threads) */
3273 __kmp_free(team->t.t_threads);
3277 team->t.t_threads = NULL;
3284 kmp_info_t **oldThreads = team->t.t_threads;
3291 KMP_MEMCPY(team->t.t_threads, oldThreads,
3338 copy_icvs(&gx_icvs, &team->t.t_threads[0]->th.th_current_task->td_icvs);
3392 root_team->t.t_threads[0] = NULL;
3429 hot_team->t.t_threads[f] = NULL;
3606 __kmp_print_structure_thread("", team->t.t_threads[i]);
3970 root->r.r_root_team->t.t_threads[0] = root_thread;
3971 root->r.r_hot_team->t.t_threads[0] = root_thread;
3972 root_thread->th.th_serial_team->t.t_threads[0] = root_thread;
4081 kmp_info_t *th = team->t.t_threads[i];
4113 kmp_info_t *th = hot_team->t.t_threads[i];
4283 KMP_DEBUG_ASSERT(team->t.t_threads);
4285 kmp_info_t *master = team->t.t_threads[0];
4614 serial_team->t.t_threads[0] = new_thr;
4728 team->t.t_threads[0], team));
4735 __kmp_init_implicit_task(loc, team->t.t_threads[0], team, 0, FALSE);
4739 team->t.t_threads[0], team));
4743 This assumes the t_threads and t_max_nproc are already set.
4753 KMP_DEBUG_ASSERT(team->t.t_threads);
4763 /* memset( team->t.t_threads, 0, sizeof(kmp_info_t*)*new_nproc ); would mess
4822 kmp_info_t *master_th = team->t.t_threads[0];
4834 proc_bind, __kmp_gtid_from_thread(team->t.t_threads[0]),
4849 kmp_info_t *th = team->t.t_threads[f];
4855 __kmp_gtid_from_thread(team->t.t_threads[f]), team->t.t_id,
4872 kmp_info_t *th = team->t.t_threads[f];
4886 __kmp_gtid_from_thread(team->t.t_threads[f]),
4898 kmp_info_t *th = team->t.t_threads[f];
4933 __kmp_gtid_from_thread(team->t.t_threads[f]), team->t.t_id, f,
4965 kmp_info_t *th = team->t.t_threads[f];
5005 __kmp_gtid_from_thread(team->t.t_threads[f]), team->t.t_id,
5055 th = team->t.t_threads[f];
5061 __kmp_gtid_from_thread(team->t.t_threads[f]),
5080 kmp_info_t *th = team->t.t_threads[f];
5114 __kmp_gtid_from_thread(team->t.t_threads[f]),
5237 team->t.t_threads[0], team));
5238 __kmp_push_current_task_to_thread(team->t.t_threads[0], team, 0);
5277 kmp_info_t *th = team->t.t_threads[f];
5291 KMP_DEBUG_ASSERT(team->t.t_threads[f]);
5292 __kmp_free_thread(team->t.t_threads[f]);
5293 team->t.t_threads[f] = NULL;
5301 KMP_DEBUG_ASSERT(team->t.t_threads[f]);
5302 kmp_balign_t *balign = team->t.t_threads[f]->th.th_bar;
5320 team->t.t_threads[f]->th.th_team_nproc = new_nproc;
5326 team->t.t_threads[0], team));
5328 __kmp_push_current_task_to_thread(team->t.t_threads[0], team, 0);
5332 KMP_DEBUG_ASSERT(team->t.t_threads[f] &&
5333 team->t.t_threads[f]->th.th_team_nproc ==
5356 kmp_info_t **other_threads = team->t.t_threads;
5401 team->t.t_threads[f] = new_worker;
5445 __kmp_initialize_info(team->t.t_threads[f], team, f,
5449 kmp_uint8 old_state = team->t.t_threads[old_nproc - 1]->th.th_task_state;
5451 team->t.t_threads[f]->th.th_task_state = old_state;
5455 KMP_DEBUG_ASSERT(team->t.t_threads[f] &&
5456 team->t.t_threads[f]->th.th_team_nproc ==
5472 kmp_info_t *thr = team->t.t_threads[f];
5483 kmp_info_t *thr = team->t.t_threads[f];
5670 KMP_DEBUG_ASSERT(team->t.t_threads);
5711 KMP_DEBUG_ASSERT(team->t.t_threads[f]);
5712 kmp_info_t *th = team->t.t_threads[f];
5736 KMP_DEBUG_ASSERT(team->t.t_threads[f]);
5737 team->t.t_threads[f]->th.th_task_team = NULL;
5766 KMP_DEBUG_ASSERT(team->t.t_threads[f]);
5769 &(team->t.t_threads[f]->th.th_used_in_team), 1, 2);
5771 __kmp_free_thread(team->t.t_threads[f]);
5782 team->t.t_threads[f]->th.th_info.ds.ds_gtid,
5789 while (team->t.t_threads[f]->th.th_used_in_team.load() != 0)
5796 team->t.t_threads[f] = NULL;
5810 KMP_DEBUG_ASSERT(team->t.t_threads[1] &&
5811 team->t.t_threads[1]->th.th_cg_roots);
5812 if (team->t.t_threads[1]->th.th_cg_roots->cg_root == team->t.t_threads[1]) {
5815 kmp_info_t *thr = team->t.t_threads[f];
5846 KMP_DEBUG_ASSERT(team->t.t_threads);
8093 KMP_DEBUG_ASSERT(team->t.t_threads[f] &&
8094 team->t.t_threads[f]->th.th_team_nproc == team->t.t_nproc);
8189 if (hot_team->t.t_threads[i]->th.th_active) {
8208 KMP_DEBUG_ASSERT(root->r.r_root_team->t.t_threads[0]
9163 kmp_info_t **other_threads = team->t.t_threads;
9170 if (team->t.t_threads[f]->th.th_used_in_team.load() == 0) {
9176 if (team->t.t_threads[f]->th.th_used_in_team.load() == 3) {
9177 while (team->t.t_threads[f]->th.th_used_in_team.load() == 3)
9181 KMP_DEBUG_ASSERT(team->t.t_threads[f]->th.th_used_in_team.load() == 1);
9183 team->t.t_threads[f]->th.th_used_in_team.store(2);
9184 KMP_DEBUG_ASSERT(team->t.t_threads[f]->th.th_used_in_team.load() == 2);
9204 KMP_DEBUG_ASSERT(team->t.t_threads[f]->th.th_used_in_team.load() == 0);
9223 KMP_DEBUG_ASSERT(team->t.t_threads[f]);
9225 &(team->t.t_threads[f]->th.th_used_in_team), 0, 3);
9227 __kmp_resume_32(team->t.t_threads[f]->th.th_info.ds.ds_gtid,
9238 if (team->t.t_threads[f]->th.th_used_in_team.load() == 1) {