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_class

The 8-bit PCI base class code.

bus

The bus on which the device resides, 0 to 0xff.

bus_id

bus:device.function PCI identifier (& NULL terminator)

device_

The device's id on the bus, 0 to 31.

domain

The PCI domain on which the device's bus resides, 0 to 0xffffffff.

pci_device_id

The combined 16-bit device id and 16-bit vendor id.

pci_sub_system_id

The 32-bit Sub System Device ID.

ptr

Get the pointer address to the data as Python int.

sub_class

The 8-bit PCI sub class code.

version

The version number of this struct.