cuda.bindings.nvml.device_get_p2p_status#
- cuda.bindings.nvml.device_get_p2p_status(
- intptr_t device1,
- intptr_t device2,
- int p2p_index,
Retrieve the status for a given p2p capability index between a given pair of GPU.
- Parameters:
device1 (intptr_t) – The first device.
device2 (intptr_t) – The second device.
p2p_index (GpuP2PCapsIndex) – p2p Capability Index being looked for between
device1anddevice2.
- Returns:
- Reference in which to return the status of the
p2p_index between
device1anddevice2.
- Reference in which to return the status of the
- Return type:
Note
In the MPS locality-domain view, this API returns the directed P2P status supplied by MPS for the two locality-domain handles. See
MPS Locality Domain Device Enumeration.See also
nvmlDeviceGetP2PStatus