cuda.bindings.nvml.device_get_nvlink_capability#
- cuda.bindings.nvml.device_get_nvlink_capability(
- intptr_t device,
- unsigned int link,
- int capability,
Retrieves the requested capability from the device’s NvLink for the link specified Please refer to the
nvmlNvLinkCapability_tstructure for the specific caps that can be queried The return value should be treated as a boolean.- Parameters:
device (intptr_t) – The identifier of the target device.
link (unsigned int) – Specifies the NvLink link to be queried.
capability (NvLinkCapability) – Specifies the
nvmlNvLinkCapability_tto be queried.
- Returns:
A boolean for the queried capability indicating that feature is available.
- Return type:
unsigned int
See also
nvmlDeviceGetNvLinkCapability