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);
614 kmp_topology_t *kmp_topology_t::allocate(int nproc, int ndepth,
618 size_t size = sizeof(kmp_topology_t) + sizeof(kmp_hw_thread_t) * nproc +
622 if (nproc > 0) {
627 retval->num_hw_threads = nproc;
630 (int *)(bytes + sizeof(kmp_topology_t) + sizeof(kmp_hw_thread_t) * nproc);
4815 int nproc = ncores * maxprocpercore;
4816 if ((nproc < 2) || (nproc < __kmp_avail_proc)) {
4824 procarr = (int *)__kmp_allocate(sizeof(int) * nproc);
4825 for (int i = 0; i < nproc; i++) {
5592 int nproc = nth_per_core * ncores;
5594 int *newarr = (int *)__kmp_allocate(sizeof(int) * nproc);
5595 for (int i = 0; i < nproc; i++) {
5637 for (int i = 0; i < nproc; i++) {