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

bus

int:

bus_id

(array of length 32).

bus_id_legacy

(array of length 16).

device_

int:

domain

int:

pci_device_id

int:

pci_sub_system_id

int:

ptr

Get the pointer address to the data as Python int.