cuda.bindings.nvml.VgpuMetadata#

class cuda.bindings.nvml.VgpuMetadata#

Empty-initialize an instance of nvmlVgpuMetadata_t.

See also

nvmlVgpuMetadata_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an VgpuMetadata instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an VgpuMetadata instance wrapping the given pointer.

Attributes

guest_driver_version

(array of length 80).

guest_info_state

int:

guest_vgpu_version

int:

host_driver_version

(array of length 80).

opaque_data

(array of length 4).

opaque_data_size

int:

ptr

Get the pointer address to the data as Python int.

revision

int:

version

int:

vgpu_virtualization_caps

int: