#include <nvml.h>
Data Fields | |
| unsigned int | domain |
| The PCI domain on which the device's bus resides, 0 to 255. | |
| unsigned int | bus |
| The bus on which the device resides, 0 to 255. | |
| unsigned int | device |
| The device's id on the bus, 0 to 31. | |
| unsigned int | function |
| The function under which the device operates, 0 to 7. | |
| unsigned int | linkGen |
| 0 = Gen 1, 1 = Gen 2 | |
| unsigned int | linkSpeed |
| The PCI link speed: 1x, 2x, 4x, 8x or 16x. | |
| unsigned int | pciDeviceId |
| The combined 16-bit device id and 16-bit vendor id. | |
| char | busId [9] |
| The 3-tuple domain:bus:device PCI identifier (+ null terminator). | |
PCI information about a GPU device.