cuda.bindings.nvml.device_get_p2p_status#

cuda.bindings.nvml.device_get_p2p_status(
intptr_t device1,
intptr_t device2,
int p2p_ind_ex,
) int#

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_ind_ex (GpuP2PCapsIndex) – p2p Capability Index being looked for between device1 and device2.

Returns:

Reference in which to return the status of the p2p_ind_ex between device1 and device2.

Return type:

int

See also

nvmlDeviceGetP2PStatus