---
name: "hwloc_mx_endpoint_get_device_cpuset"
section: "3"
platform: "linux"
package: "libhwloc-doc"
version: "1.11.12-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/hwlocality_myriexpress"
---

# hwloc\_mx\_endpoint\_get\_device\_cpuset(3)

Part of [hwlocality\_myriexpress(3)](/hwlocality_myriexpress/3.md).

## NAME

hwlocality\_myriexpress

## SYNOPSIS

### Functions

static int **hwloc\_mx\_board\_get\_device\_cpuset** (**hwloc\_topology\_t** topology, unsigned id, **hwloc\_cpuset\_t** set)\
 static int **hwloc\_mx\_endpoint\_get\_device\_cpuset** (**hwloc\_topology\_t** topology, mx\_endpoint\_t endpoint, **hwloc\_cpuset\_t** set)\

## Detailed Description

This interface offers ways to retrieve topology information about Myrinet Express hardware.

## Function Documentation

### static int hwloc\_mx\_board\_get\_device\_cpuset (hwloc\_topology\_t topology, unsigned id, hwloc\_cpuset\_t set)` [inline]`, ` [static]`

Get the CPU set of logical processors that are physically close the MX board `id`. Return the CPU set describing the locality of the Myrinet Express board whose index is `id`.

Topology `topology` and device `id` must match the local machine. I/O devices detection is not needed in the topology.

The function only returns the locality of the device. No additional information about the device is available.

### static int hwloc\_mx\_endpoint\_get\_device\_cpuset (hwloc\_topology\_t topology, mx\_endpoint\_t endpoint, hwloc\_cpuset\_t set)` [inline]`, ` [static]`

Get the CPU set of logical processors that are physically close the MX endpoint `endpoint`. Return the CPU set describing the locality of the Myrinet Express board that runs the MX endpoint `endpoint`.

Topology `topology` and device `id` must match the local machine. I/O devices detection is not needed in the topology.

The function only returns the locality of the endpoint. No additional information about the endpoint or device is available.

## Author

Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
