cuda.bindings.nvml.device_get_numa_node_id#
- cuda.bindings.nvml.device_get_numa_node_id(intptr_t device) unsigned int#
Get the NUMA node of the given GPU device. This only applies to platforms where the GPUs are NUMA nodes.
- Parameters:
device (intptr_t) – The device handle.
- Returns:
NUMA node ID of the device.
- Return type:
unsigned int
Note
In the MPS locality-domain view, this API returns the NUMA node supplied by MPS for the locality domain. See
MPS Locality Domain Device Enumeration.See also
nvmlDeviceGetNumaNodeId