Searched refs:num_cores (Results 1 – 1 of 1) sorted by relevance
140 PetscInt num_packages, num_cores; in PetscOmpCtrlCreate() local173 …num_cores = hwloc_get_nbobjs_by_type(ctrl->topology, HWLOC_OBJ_CORE) <= 0 ? 1 : hwloc_get_nbobj… in PetscOmpCtrlCreate()174 nthreads = num_cores / num_packages; in PetscOmpCtrlCreate()