cuda.bindings.nvml.VgpuPgpuMetadata#

class cuda.bindings.nvml.VgpuPgpuMetadata#

Empty-initialize an instance of nvmlVgpuPgpuMetadata_t.

See also

nvmlVgpuPgpuMetadata_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an VgpuPgpuMetadata instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an VgpuPgpuMetadata instance wrapping the given pointer.

Attributes

host_driver_version

(array of length 80).

host_supported_vgpu_range

VgpuVersion:

opaque_data

(array of length 4).

opaque_data_size

int:

pgpu_virtualization_caps

int:

ptr

Get the pointer address to the data as Python int.

revision

int:

version

int: