cuda.core.system.NvlinkInfo#

class cuda.core.system.NvlinkInfo(Device device: Device, int link: int)#

Nvlink information for a device.

Methods

__init__(*args, **kwargs)#

Attributes

state#

Retrieves the state of the device’s Nvlink for the device and link specified.

For Pascal™ or newer fully supported devices.

For all products with Nvlink support.

Returns:

True if the Nvlink is active.

Return type:

bool

version#

tuple[int, int]

Retrieves the NvLink version for the device and link.

For all products with NvLink support.

Returns:

The Nvlink version as a tuple of (major, minor).

Return type:

tuple[int, int]