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

See also

nvmlDeviceGetNumaNodeId