Lines Matching refs:root_thread
3603 kmp_info_t *root_thread; in __kmp_register_root() local
3697 root_thread = root->r.r_uber_thread; in __kmp_register_root()
3699 root_thread = (kmp_info_t *)__kmp_allocate(sizeof(kmp_info_t)); in __kmp_register_root()
3701 __kmp_print_thread_storage_map(root_thread, gtid); in __kmp_register_root()
3703 root_thread->th.th_info.ds.ds_gtid = gtid; in __kmp_register_root()
3705 root_thread->th.ompt_thread_info.thread_data = ompt_data_none; in __kmp_register_root()
3707 root_thread->th.th_root = root; in __kmp_register_root()
3709 root_thread->th.th_cons = __kmp_allocate_cons_stack(gtid); in __kmp_register_root()
3712 __kmp_initialize_fast_memory(root_thread); in __kmp_register_root()
3716 KMP_DEBUG_ASSERT(root_thread->th.th_local.bget_data == NULL); in __kmp_register_root()
3717 __kmp_initialize_bget(root_thread); in __kmp_register_root()
3719 __kmp_init_random(root_thread); // Initialize random number generator in __kmp_register_root()
3723 if (!root_thread->th.th_serial_team) { in __kmp_register_root()
3726 root_thread->th.th_serial_team = __kmp_allocate_team( in __kmp_register_root()
3733 KMP_ASSERT(root_thread->th.th_serial_team); in __kmp_register_root()
3735 root_thread->th.th_serial_team)); in __kmp_register_root()
3738 TCW_SYNC_PTR(__kmp_threads[gtid], root_thread); in __kmp_register_root()
3740 root->r.r_root_team->t.t_threads[0] = root_thread; in __kmp_register_root()
3741 root->r.r_hot_team->t.t_threads[0] = root_thread; in __kmp_register_root()
3742 root_thread->th.th_serial_team->t.t_threads[0] = root_thread; in __kmp_register_root()
3744 root_thread->th.th_serial_team->t.t_serialized = 0; in __kmp_register_root()
3745 root->r.r_uber_thread = root_thread; in __kmp_register_root()
3748 __kmp_initialize_info(root_thread, root->r.r_root_team, 0, gtid); in __kmp_register_root()
3761 __kmp_create_worker(gtid, root_thread, __kmp_stksize); in __kmp_register_root()
3772 root_thread->th.th_bar[b].bb.b_arrived = KMP_INIT_BARRIER_STATE; in __kmp_register_root()
3774 root_thread->th.th_bar[b].bb.b_worker_arrived = 0; in __kmp_register_root()
3782 root_thread->th.th_current_place = KMP_PLACE_UNDEFINED; in __kmp_register_root()
3783 root_thread->th.th_new_place = KMP_PLACE_UNDEFINED; in __kmp_register_root()
3784 root_thread->th.th_first_place = KMP_PLACE_UNDEFINED; in __kmp_register_root()
3785 root_thread->th.th_last_place = KMP_PLACE_UNDEFINED; in __kmp_register_root()
3790 root_thread->th.th_def_allocator = __kmp_def_allocator; in __kmp_register_root()
3791 root_thread->th.th_prev_level = 0; in __kmp_register_root()
3792 root_thread->th.th_prev_num_threads = 1; in __kmp_register_root()
3795 tmp->cg_root = root_thread; in __kmp_register_root()
3800 root_thread, tmp)); in __kmp_register_root()
3802 root_thread->th.th_cg_roots = tmp; in __kmp_register_root()
3809 kmp_info_t *root_thread = ompt_get_thread(); in __kmp_register_root() local
3811 ompt_set_thread_state(root_thread, ompt_state_overhead); in __kmp_register_root()
3825 ompt_set_thread_state(root_thread, ompt_state_work_serial); in __kmp_register_root()