Searched refs:num_procs (Results 1 – 4 of 4) sorted by relevance
101 int num_procs = omp_get_place_num_procs(place); in check_thread_affinity() local102 int *ids = (int *)malloc(sizeof(int) * num_procs); in check_thread_affinity()103 int *ids2 = (int *)malloc(sizeof(int) * num_procs); in check_thread_affinity()108 list_to_ids(buf, ids2, num_procs); in check_thread_affinity()116 for (j = 0; j < num_procs; ++j) { in check_thread_affinity()
43 int num_procs = omp_get_place_num_procs(place); in place_and_affinity_match() local44 int *ids = (int*)malloc(sizeof(int) * num_procs); in place_and_affinity_match()51 for (i = 0; i < num_procs; ++i) { in place_and_affinity_match()62 for (j = 0; j < num_procs; ++j) { in place_and_affinity_match()
209 int num_procs = omp_get_place_num_procs(place); in topology_alloc_openmp_places() local210 int *ids = (int *)malloc(sizeof(int) * num_procs); in topology_alloc_openmp_places()213 for (i = 0; i < num_procs; ++i) in topology_alloc_openmp_places()235 int num_procs = omp_get_place_num_procs(place); in topology_alloc_openmp_partition() local236 int *ids = (int *)malloc(sizeof(int) * num_procs); in topology_alloc_openmp_partition()237 if (num_procs == 0) { in topology_alloc_openmp_partition()243 for (i = 0; i < num_procs; ++i) in topology_alloc_openmp_partition()
4703 int num_procs = 0; in __kmp_aux_set_affinity() local4712 num_procs++; in __kmp_aux_set_affinity()4714 if (num_procs == 0) { in __kmp_aux_set_affinity()