Searched refs:ncores (Results 1 – 3 of 3) sorted by relevance
60 uint32_t ncores; member81 GPR_ASSERT(cpu < ct->ncores); in worker_thread()84 for (j = 0; j < ct->ncores; j++) { in worker_thread()88 if (j == ct->ncores) { in worker_thread()106 ct.ncores = gpr_cpu_num_cores(); in cpu_test()107 GPR_ASSERT(ct.ncores > 0); in cpu_test()108 ct.nthreads = static_cast<int>(ct.ncores) * 3; in cpu_test()109 ct.used = static_cast<int*>(gpr_malloc(ct.ncores * sizeof(int))); in cpu_test()110 memset(ct.used, 0, ct.ncores * sizeof(int)); in cpu_test()115 uint32_t nthreads = ct.ncores * 3; in cpu_test()[all …]
81 int ncores = 1; in main() local87 if ((ncores = sysconf(_SC_NPROCESSORS_CONF)) <= 0) in main()
4035 int ncores = 0; in __kmp_affinity_compute_ncores() local4048 ncores++; in __kmp_affinity_compute_ncores()4054 ncores++; in __kmp_affinity_compute_ncores()4056 return ncores; in __kmp_affinity_compute_ncores()4570 int ncores = __kmp_affinity_compute_ncores(address2os, __kmp_avail_proc, in __kmp_aux_affinity_initialize() local4575 int nproc = ncores * maxprocpercore; in __kmp_aux_affinity_initialize()5102 int ncores = __kmp_ncores; in __kmp_balanced_affinity() local5105 ncores = nPackages; in __kmp_balanced_affinity()5108 int chunk = nthreads / ncores; in __kmp_balanced_affinity()5110 int big_cores = nthreads % ncores; in __kmp_balanced_affinity()[all …]