cuda.bindings.nvml.device_get_pci_info_v3#

cuda.bindings.nvml.device_get_pci_info_v3(intptr_t device)#

Retrieves the PCI attributes of this device.

For all products. See nvmlPciInfo_t for details on the available PCI info.

Parameters:

device (intptr_t) – The identifier of the target device.

Returns:

Reference in which to return the PCI info.

Return type:

nvmlPciInfo_t

Note

In the MPS locality-domain view, this API and its v1 and v2 variants return the PCI attributes supplied by MPS. Multiple locality domains can report the same physical parent’s PCI attributes. See MPS Locality Domain Device Enumeration.

See also

nvmlDeviceGetPciInfo_v3