cuda.bindings.nvml.VgpuTypeBar1Info_v1#

class cuda.bindings.nvml.VgpuTypeBar1Info_v1#

Empty-initialize an instance of nvmlVgpuTypeBar1Info_v1_t.

See also

nvmlVgpuTypeBar1Info_v1_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an VgpuTypeBar1Info_v1 instance with the memory from the given buffer.

from_data(data)

Create an VgpuTypeBar1Info_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an VgpuTypeBar1Info_v1 instance wrapping the given pointer.

Attributes

bar1size

BAR1 size in megabytes.

ptr

Get the pointer address to the data as Python int.

version

The version number of this struct.