heimdallr.utilities.nvidia.bindings.nvmlDeviceGetNvLinkErrorCounter

heimdallr.utilities.nvidia.bindings.nvmlDeviceGetNvLinkErrorCounter(device, link, counter)[source]

Retrieve the specified error counter value.

Retrieves the specified error counter value. Please refer to _nvmlNvLinkErrorCounter_t for error counters that are available.

Parameters
  • device – The identifier of the target device

  • link – Specifies the NvLink link to be queried (uint)

  • counter – Specifies the NvLink counter to be queried

Returns

The specified counter value

Return type

value