Lines Matching defs:nproc
78 void __kmp_get_hierarchy(kmp_uint32 nproc, kmp_bstate_t *thr_bar) {
83 machine_hierarchy.init(nproc);
86 if (nproc > machine_hierarchy.base_num_threads)
87 machine_hierarchy.resize(nproc);
639 kmp_topology_t *kmp_topology_t::allocate(int nproc, int ndepth,
643 size_t size = sizeof(kmp_topology_t) + sizeof(kmp_hw_thread_t) * nproc +
647 if (nproc > 0) {
652 retval->num_hw_threads = nproc;
655 (int *)(bytes + sizeof(kmp_topology_t) + sizeof(kmp_hw_thread_t) * nproc);
5163 int nproc = ncores * maxprocpercore;
5164 if ((nproc < 2) || (nproc < __kmp_avail_proc)) {
5172 procarr = (int *)__kmp_allocate(sizeof(int) * nproc);
5173 for (int i = 0; i < nproc; i++) {
5942 int nproc = nth_per_core * ncores;
5944 int *newarr = (int *)__kmp_allocate(sizeof(int) * nproc);
5945 for (int i = 0; i < nproc; i++) {
5987 for (int i = 0; i < nproc; i++) {