heimdallr.utilities.nvidia.bindings.nvmlDeviceGetNvLinkState¶
- heimdallr.utilities.nvidia.bindings.nvmlDeviceGetNvLinkState(device, link)[source]¶
Retrieve the state of the device’s NvLink for the link specified.
Retrieves the state of the device’s NvLink for the link specified.
- Parameters
device – The identifier of the target device
link – Specifies the NvLink link to be queried (uint)
- Returns
nvmlEnableState_t where NVML_FEATURE_ENABLED indicates that the link is active and NVML_FEATURE_DISABLED indicates it is inactive.
- Return type
mode