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);
617 kmp_topology_t *kmp_topology_t::allocate(int nproc, int ndepth,
621 size_t size = sizeof(kmp_topology_t) + sizeof(kmp_hw_thread_t) * nproc +
625 if (nproc > 0) {
630 retval->num_hw_threads = nproc;
633 (int *)(bytes + sizeof(kmp_topology_t) + sizeof(kmp_hw_thread_t) * nproc);
4831 int nproc = ncores * maxprocpercore;
4832 if ((nproc < 2) || (nproc < __kmp_avail_proc)) {
4840 procarr = (int *)__kmp_allocate(sizeof(int) * nproc);
4841 for (int i = 0; i < nproc; i++) {
5608 int nproc = nth_per_core * ncores;
5610 int *newarr = (int *)__kmp_allocate(sizeof(int) * nproc);
5611 for (int i = 0; i < nproc; i++) {
5653 for (int i = 0; i < nproc; i++) {