Functions | |
static inline hwloc_cpuset_t | hwloc_ibv_get_device_cpuset (struct ibv_device *ibdev) |
Get the CPU set of logical processors that are physically close to device ibdev . |
static inline hwloc_cpuset_t hwloc_ibv_get_device_cpuset | ( | struct ibv_device * | ibdev | ) | [static] |
Get the CPU set of logical processors that are physically close to device ibdev
.
For the given OpenFabrics device ibdev
, read the corresponding kernel-provided cpumap file and return the corresponding CPU set. This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset.