Home
last modified time | relevance | path

Searched refs:num_procs (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/openmp/runtime/test/affinity/format/
H A Daffinity_values.c101 int num_procs = omp_get_place_num_procs(place); in check_thread_affinity() local
102 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()
/llvm-project-15.0.7/openmp/runtime/test/affinity/
H A Droot-threads-affinity.c43 int num_procs = omp_get_place_num_procs(place); in place_and_affinity_match() local
44 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()
H A Dlibomp_test_topology.h209 int num_procs = omp_get_place_num_procs(place); in topology_alloc_openmp_places() local
210 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() local
236 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()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_affinity.cpp4703 int num_procs = 0; in __kmp_aux_set_affinity() local
4712 num_procs++; in __kmp_aux_set_affinity()
4714 if (num_procs == 0) { in __kmp_aux_set_affinity()