Lines Matching refs:num_threads
472 kmp_uint32 num_threads = this_thr->th.th_team_nproc; in __kmp_hyper_barrier_gather() local
494 for (level = 0, offset = 1; offset < num_threads; in __kmp_hyper_barrier_gather()
523 child < branch_factor && child_tid < num_threads; in __kmp_hyper_barrier_gather()
530 if (child + 1 < branch_factor && next_child_tid < num_threads) in __kmp_hyper_barrier_gather()
590 kmp_uint32 num_threads; in __kmp_hyper_barrier_release() local
652 num_threads = this_thr->th.th_team_nproc; in __kmp_hyper_barrier_release()
658 offset < num_threads && (((tid >> level) & (branch_factor - 1)) == 0); in __kmp_hyper_barrier_release()
667 for (level = 0, offset = 1; offset < num_threads; in __kmp_hyper_barrier_release()
674 child = num_threads >> ((level == 0) ? level : level - 1); in __kmp_hyper_barrier_release()
685 child < branch_factor && child_tid < num_threads; in __kmp_hyper_barrier_release()
689 if (child_tid >= num_threads) in __kmp_hyper_barrier_release()
698 if (child - 1 >= 1 && next_child_tid < num_threads) in __kmp_hyper_barrier_release()
700 if (child + 1 < branch_factor && next_child_tid < num_threads) in __kmp_hyper_barrier_release()