Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.cpp302 static int nCoresPerPkg, nPackages; variable
314 return __kmp_avail_proc == (__kmp_nThreadsPerCore * nCoresPerPkg * nPackages); in __kmp_affinity_uniform_topology()
583 nCoresPerPkg = __kmp_hwloc_get_nobjs_under_obj(o, HWLOC_OBJ_CORE); in __kmp_affinity_create_hwloc_map()
585 nCoresPerPkg = 1; // no PACKAGE found in __kmp_affinity_create_hwloc_map()
592 if (nCoresPerPkg == 0) in __kmp_affinity_create_hwloc_map()
593 nCoresPerPkg = 1; // to prevent possible division by 0 in __kmp_affinity_create_hwloc_map()
594 nPackages = (__kmp_xproc + nCoresPerPkg - 1) / nCoresPerPkg; in __kmp_affinity_create_hwloc_map()
603 KMP_INFORM(Topology, "KMP_AFFINITY", nPackages, nCoresPerPkg, in __kmp_affinity_create_hwloc_map()
633 __kmp_ncores = nPackages = nCoresPerPkg = __kmp_nThreadsPerCore = 0; in __kmp_affinity_create_hwloc_map()
718 if (n_active_cores > nCoresPerPkg) in __kmp_affinity_create_hwloc_map()
[all …]