cuda.core.system._device.NvlinkInfo#

class cuda.core.system._device.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#

Retrieves the NvlinkVersion for the device and link.

For all products with NvLink support.

Returns:

The Nvlink version.

Return type:

NvlinkVersion