cuda.bindings.nvml.VgpuLicenseInfo#

class cuda.bindings.nvml.VgpuLicenseInfo#

Empty-initialize an instance of nvmlVgpuLicenseInfo_t.

See also

nvmlVgpuLicenseInfo_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an VgpuLicenseInfo instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an VgpuLicenseInfo instance wrapping the given pointer.

Attributes

current_state

int:

is_licensed

int:

license_expiry

VgpuLicenseExpiry:

ptr

Get the pointer address to the data as Python int.