cuda.bindings.nvml.device_get_max_pcie_link_width#
- cuda.bindings.nvml.device_get_max_pcie_link_width(intptr_t device) unsigned int#
Retrieves the maximum PCIe link width possible with this device and system.
I.E. for a device with a 16x PCIe bus width attached to a 8x PCIe system bus this function will report a max link width of 8. For Fermi ™️ or newer fully supported devices.
- Parameters:
device (intptr_t) – The identifier of the target device.
- Returns:
- Reference in which to return the max PCIe link
generation.
- Return type:
unsigned int
See also
nvmlDeviceGetMaxPcieLinkWidth