cuda.core.system.get_p2p_status#

cuda.core.system.get_p2p_status(
Device device1: Device,
Device device2: Device,
index: GpuP2PCapsIndex,
) GpuP2PStatus#

Retrieve the P2P status between two devices.

Parameters:
  • device1 (Device) – The first device.

  • device2 (Device) – The second device.

  • index (GpuP2PCapsIndex) – The P2P capability index being looked for between device1 and device2.

Returns:

The P2P status between the two devices.

Return type:

GpuP2PStatus