cuda.bindings.nvml.device_get_nvlink_state#
- cuda.bindings.nvml.device_get_nvlink_state(intptr_t device, unsigned int link) int#
Retrieves the state of the device’s NvLink for the link specified.
- Parameters:
device (intptr_t) – The identifier of the target device.
link (unsigned int) – Specifies the NvLink link to be queried.
- Returns:
nvmlEnableState_twhere NVML_FEATURE_ENABLED indicates that the link is active and NVML_FEATURE_DISABLED indicates it is inactive.- Return type:
See also
nvmlDeviceGetNvLinkState