Lines Matching refs:parent_team
784 static int __kmp_reserve_threads(kmp_root_t *root, kmp_team_t *parent_team, in __kmp_reserve_threads() argument
790 KMP_DEBUG_ASSERT(root && parent_team); in __kmp_reserve_threads()
791 kmp_info_t *this_thr = parent_team->t.t_threads[master_tid]; in __kmp_reserve_threads()
796 if (!get__dynamic_2(parent_team, master_tid)) { in __kmp_reserve_threads()
833 new_nthreads = __kmp_get_random(parent_team->t.t_threads[master_tid]); in __kmp_reserve_threads()
862 if (!get__dynamic_2(parent_team, master_tid) && (!__kmp_reserve_warn)) { in __kmp_reserve_threads()
893 if (!get__dynamic_2(parent_team, master_tid) && (!__kmp_reserve_warn)) { in __kmp_reserve_threads()
932 if (!get__dynamic_2(parent_team, master_tid) && (!__kmp_reserve_warn)) { in __kmp_reserve_threads()
1407 kmp_team_t *parent_team; in __kmp_fork_call() local
1443 parent_team = master_th->th.th_team; in __kmp_fork_call()
1465 level = parent_team->t.t_level; in __kmp_fork_call()
1467 active_level = parent_team->t.t_active_level; in __kmp_fork_call()
1486 : get__nproc_2(parent_team, master_tid); in __kmp_fork_call()
1506 parent_team->t.t_ident = loc; in __kmp_fork_call()
1507 __kmp_alloc_argv_entries(argc, parent_team, TRUE); in __kmp_fork_call()
1508 parent_team->t.t_argc = argc; in __kmp_fork_call()
1509 argv = (void **)parent_team->t.t_argv; in __kmp_fork_call()
1513 if (parent_team == master_th->th.th_serial_team) { in __kmp_fork_call()
1516 KMP_DEBUG_ASSERT(parent_team->t.t_serialized > 1); in __kmp_fork_call()
1521 parent_team->t.t_serialized--; in __kmp_fork_call()
1558 parent_team->t.t_serialized--; in __kmp_fork_call()
1563 __kmp_invoke_microtask(microtask, gtid, 0, argc, parent_team->t.t_argv in __kmp_fork_call()
1594 parent_team->t.t_pkfn = microtask; in __kmp_fork_call()
1595 parent_team->t.t_invoke = invoker; in __kmp_fork_call()
1597 parent_team->t.t_active_level++; in __kmp_fork_call()
1598 parent_team->t.t_level++; in __kmp_fork_call()
1599 parent_team->t.t_def_allocator = master_th->th.th_def_allocator; // save in __kmp_fork_call()
1614 kmp_info_t **other_threads = parent_team->t.t_threads; in __kmp_fork_call()
1615 parent_team->t.t_nproc = master_set_numthreads; in __kmp_fork_call()
1637 parent_team->t.t_active_level == 1 // only report frames at level 1 in __kmp_fork_call()
1641 parent_team->t.t_region_time = tmp_time; in __kmp_fork_call()
1645 parent_team->t.t_stack_id = __kmp_itt_stack_caller_create(); in __kmp_fork_call()
1651 root, parent_team, master_th, gtid)); in __kmp_fork_call()
1652 __kmp_internal_fork(loc, gtid, parent_team); in __kmp_fork_call()
1655 root, parent_team, master_th, gtid)); in __kmp_fork_call()
1662 parent_team->t.t_id, parent_team->t.t_pkfn)); in __kmp_fork_call()
1664 if (!parent_team->t.t_invoke(gtid)) { in __kmp_fork_call()
1668 parent_team->t.t_id, parent_team->t.t_pkfn)); in __kmp_fork_call()
1679 parent_team->t.t_task_team[master_th->th.th_task_state]); in __kmp_fork_call()
1683 if (parent_team->t.t_active_level >= in __kmp_fork_call()
1693 parent_team, in __kmp_fork_call()
1716 nthreads = __kmp_reserve_threads(root, parent_team, master_tid, in __kmp_fork_call()
1792 parent_team->t.t_argv in __kmp_fork_call()
1835 argv[i] = parent_team->t.t_argv[i]; in __kmp_fork_call()
1959 parent_team->t.t_active_level, master_th, in __kmp_fork_call()
2044 KMP_CHECK_UPDATE(team->t.t_parent, parent_team); in __kmp_fork_call()
2053 int new_level = parent_team->t.t_level + 1; in __kmp_fork_call()
2055 new_level = parent_team->t.t_active_level + 1; in __kmp_fork_call()
2059 int new_level = parent_team->t.t_level; in __kmp_fork_call()
2061 new_level = parent_team->t.t_active_level; in __kmp_fork_call()
2064 kmp_r_sched_t new_sched = get__sched_2(parent_team, master_tid); in __kmp_fork_call()
2078 parent_team->t.t_task_team[master_th->th.th_task_state]); in __kmp_fork_call()
2082 master_th->th.th_task_team, parent_team, in __kmp_fork_call()
2135 gtid, parent_team->t.t_id, team->t.t_master_tid, team->t.t_id, in __kmp_fork_call()
2298 kmp_team_t *parent_team; in __kmp_join_call() local
2309 parent_team = team->t.t_parent; in __kmp_join_call()
2356 __kmp_join_restore_state(master_th, parent_team); in __kmp_join_call()
2464 __kmp_join_ompt(gtid, master_th, parent_team, &ompt_parallel_data, in __kmp_join_call()
2476 master_th->th.th_dispatch = &parent_team->t.t_dispatch[team->t.t_master_tid]; in __kmp_join_call()
2531 master_th->th.th_team = parent_team; in __kmp_join_call()
2532 master_th->th.th_team_nproc = parent_team->t.t_nproc; in __kmp_join_call()
2533 master_th->th.th_team_master = parent_team->t.t_threads[0]; in __kmp_join_call()
2534 master_th->th.th_team_serialized = parent_team->t.t_serialized; in __kmp_join_call()
2537 if (parent_team->t.t_serialized && in __kmp_join_call()
2538 parent_team != master_th->th.th_serial_team && in __kmp_join_call()
2539 parent_team != root->r.r_root_team) { in __kmp_join_call()
2542 master_th->th.th_serial_team = parent_team; in __kmp_join_call()
2560 parent_team->t.t_task_team[master_th->th.th_task_state]; in __kmp_join_call()
2564 parent_team)); in __kmp_join_call()
2580 __kmp_join_ompt(gtid, master_th, parent_team, parallel_data, flags, in __kmp_join_call()