cuda.bindings.nvml.PciInfoExt_v1#
- class cuda.bindings.nvml.PciInfoExt_v1#
Empty-initialize an instance of nvmlPciInfoExt_v1_t.
See also
nvmlPciInfoExt_v1_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an PciInfoExt_v1 instance with the memory from the given buffer.
from_data(data)Create an PciInfoExt_v1 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an PciInfoExt_v1 instance wrapping the given pointer.
Attributes
base_classThe 8-bit PCI base class code.
busThe bus on which the device resides, 0 to 0xff.
bus_idbus:device.function PCI identifier (& NULL terminator)
device_The device's id on the bus, 0 to 31.
domainThe PCI domain on which the device's bus resides, 0 to 0xffffffff.
pci_device_idThe combined 16-bit device id and 16-bit vendor id.
pci_sub_system_idThe 32-bit Sub System Device ID.
ptrGet the pointer address to the data as Python
int.sub_classThe 8-bit PCI sub class code.
versionThe version number of this struct.