Lines Matching defs:root_thread

3804   kmp_info_t *root_thread;
3927 root_thread = root->r.r_uber_thread;
3929 root_thread = (kmp_info_t *)__kmp_allocate(sizeof(kmp_info_t));
3931 __kmp_print_thread_storage_map(root_thread, gtid);
3933 root_thread->th.th_info.ds.ds_gtid = gtid;
3935 root_thread->th.ompt_thread_info.thread_data = ompt_data_none;
3937 root_thread->th.th_root = root;
3939 root_thread->th.th_cons = __kmp_allocate_cons_stack(gtid);
3942 __kmp_initialize_fast_memory(root_thread);
3946 KMP_DEBUG_ASSERT(root_thread->th.th_local.bget_data == NULL);
3947 __kmp_initialize_bget(root_thread);
3949 __kmp_init_random(root_thread); // Initialize random number generator
3953 if (!root_thread->th.th_serial_team) {
3956 root_thread->th.th_serial_team = __kmp_allocate_team(
3963 KMP_ASSERT(root_thread->th.th_serial_team);
3965 root_thread->th.th_serial_team));
3967 /* drop root_thread into place */
3968 TCW_SYNC_PTR(__kmp_threads[gtid], root_thread);
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;
3974 root_thread->th.th_serial_team->t.t_serialized = 0;
3975 root->r.r_uber_thread = root_thread;
3978 __kmp_initialize_info(root_thread, root->r.r_root_team, 0, gtid);
3991 __kmp_create_worker(gtid, root_thread, __kmp_stksize);
4002 root_thread->th.th_bar[b].bb.b_arrived = KMP_INIT_BARRIER_STATE;
4004 root_thread->th.th_bar[b].bb.b_worker_arrived = 0;
4012 root_thread->th.th_current_place = KMP_PLACE_UNDEFINED;
4013 root_thread->th.th_new_place = KMP_PLACE_UNDEFINED;
4014 root_thread->th.th_first_place = KMP_PLACE_UNDEFINED;
4015 root_thread->th.th_last_place = KMP_PLACE_UNDEFINED;
4017 root_thread->th.th_def_allocator = __kmp_def_allocator;
4018 root_thread->th.th_prev_level = 0;
4019 root_thread->th.th_prev_num_threads = 1;
4022 tmp->cg_root = root_thread;
4027 root_thread, tmp));
4029 root_thread->th.th_cg_roots = tmp;
4036 kmp_info_t *root_thread = ompt_get_thread();
4038 ompt_set_thread_state(root_thread, ompt_state_overhead);
4053 ompt_set_thread_state(root_thread, ompt_state_work_serial);