cuda.bindings.nvml.PciInfo#
- class cuda.bindings.nvml.PciInfo#
Empty-initialize an instance of nvmlPciInfo_t.
See also
nvmlPciInfo_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an PciInfo instance with the memory from the given buffer.
from_data(data)Create an PciInfo instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an PciInfo instance wrapping the given pointer.
Attributes
busint:
bus_id(array of length 32).
bus_id_legacy(array of length 16).
device_int:
domainint:
pci_device_idint:
pci_sub_system_idint:
ptrGet the pointer address to the data as Python
int.