cuda.bindings.nvml.device_get_p2p_status#
- cuda.bindings.nvml.device_get_p2p_status(
- intptr_t device1,
- intptr_t device2,
- int p2p_ind_ex,
Retrieve the status for a given p2p capability index between a given pair of GPU. :param device1: The first device. :type device1: intptr_t :param device2: The second device. :type device2: intptr_t :param p2p_ind_ex: p2p Capability Index being looked for between ``device1`` and ``device2``. :type p2p_ind_ex: GpuP2PCapsIndex :returns: Reference in which to return the status of the ``p2p_ind_ex`` between ``device1`` and ``device2``. :rtype: int .. seealso:: `nvmlDeviceGetP2PStatus`