cuda.bindings.nvml.device_get_max_pcie_link_generation#
- cuda.bindings.nvml.device_get_max_pcie_link_generation(intptr_t device) unsigned int#
Retrieves the maximum PCIe link generation possible with this device and system.
I.E. for a generation 2 PCIe device attached to a generation 1 PCIe bus the max link generation this function will report is generation 1. 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
nvmlDeviceGetMaxPcieLinkGeneration