• Home
  • Raw
  • Download

Lines Matching refs:num_avail

2128   unsigned num_avail = 0;  in __kmp_affinity_create_cpuinfo_map()  local
2143 if (threadInfo[num_avail][i] != UINT_MAX) { in __kmp_affinity_create_cpuinfo_map()
2172 if (threadInfo[num_avail][osIdIndex] != UINT_MAX) in __kmp_affinity_create_cpuinfo_map()
2178 num_avail++; in __kmp_affinity_create_cpuinfo_map()
2182 threadInfo[num_avail][osIdIndex] = val; in __kmp_affinity_create_cpuinfo_map()
2188 threadInfo[num_avail][osIdIndex]); in __kmp_affinity_create_cpuinfo_map()
2189 __kmp_read_from_file(path, "%u", &threadInfo[num_avail][pkgIdIndex]); in __kmp_affinity_create_cpuinfo_map()
2193 threadInfo[num_avail][osIdIndex]); in __kmp_affinity_create_cpuinfo_map()
2194 __kmp_read_from_file(path, "%u", &threadInfo[num_avail][coreIdIndex]); in __kmp_affinity_create_cpuinfo_map()
2205 if (threadInfo[num_avail][pkgIdIndex] != UINT_MAX) in __kmp_affinity_create_cpuinfo_map()
2207 threadInfo[num_avail][pkgIdIndex] = val; in __kmp_affinity_create_cpuinfo_map()
2217 if (threadInfo[num_avail][coreIdIndex] != UINT_MAX) in __kmp_affinity_create_cpuinfo_map()
2219 threadInfo[num_avail][coreIdIndex] = val; in __kmp_affinity_create_cpuinfo_map()
2230 if (threadInfo[num_avail][threadIdIndex] != UINT_MAX) in __kmp_affinity_create_cpuinfo_map()
2232 threadInfo[num_avail][threadIdIndex] = val; in __kmp_affinity_create_cpuinfo_map()
2243 if (threadInfo[num_avail][nodeIdIndex + level] != UINT_MAX) in __kmp_affinity_create_cpuinfo_map()
2245 threadInfo[num_avail][nodeIdIndex + level] = val; in __kmp_affinity_create_cpuinfo_map()
2265 if ((int)num_avail == __kmp_xproc) { in __kmp_affinity_create_cpuinfo_map()
2273 if (threadInfo[num_avail][osIdIndex] == UINT_MAX) { in __kmp_affinity_create_cpuinfo_map()
2285 if (!KMP_CPU_ISSET(threadInfo[num_avail][osIdIndex], in __kmp_affinity_create_cpuinfo_map()
2287 INIT_PROC_INFO(threadInfo[num_avail]); in __kmp_affinity_create_cpuinfo_map()
2293 num_avail++; in __kmp_affinity_create_cpuinfo_map()
2294 KMP_ASSERT(num_avail <= num_records); in __kmp_affinity_create_cpuinfo_map()
2295 INIT_PROC_INFO(threadInfo[num_avail]); in __kmp_affinity_create_cpuinfo_map()
2324 KMP_ASSERT(num_avail > 0); in __kmp_affinity_create_cpuinfo_map()
2325 KMP_ASSERT(num_avail <= num_records); in __kmp_affinity_create_cpuinfo_map()
2326 if (num_avail == 1) { in __kmp_affinity_create_cpuinfo_map()
2381 qsort(threadInfo, num_avail, sizeof(*threadInfo), in __kmp_affinity_create_cpuinfo_map()
2426 for (i = 1; i < num_avail; i++) { in __kmp_affinity_create_cpuinfo_map()
2584 KMP_DEBUG_ASSERT(num_avail == (unsigned)__kmp_avail_proc); in __kmp_affinity_create_cpuinfo_map()
2586 for (i = 0; i < num_avail; ++i) { // fill the os indices in __kmp_affinity_create_cpuinfo_map()
2621 *address2os = (AddrUnsPair *)__kmp_allocate(sizeof(AddrUnsPair) * num_avail); in __kmp_affinity_create_cpuinfo_map()
2626 for (i = 0; i < num_avail; ++i) { in __kmp_affinity_create_cpuinfo_map()
2681 __kmp_affinity_print_topology(*address2os, num_avail, depth, pkgLevel, in __kmp_affinity_create_cpuinfo_map()