cuda.bindings.nvml.VgpuSchedulerState_v1#

class cuda.bindings.nvml.VgpuSchedulerState_v1#

Empty-initialize an instance of nvmlVgpuSchedulerState_v1_t.

See also

nvmlVgpuSchedulerState_v1_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an VgpuSchedulerState_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an VgpuSchedulerState_v1 instance wrapping the given pointer.

Attributes

enable_arr_mode

Adaptive Round Robin scheduler.

engine_id

One of NVML_VGPU_SCHEDULER_ENGINE_TYPE_*.

ptr

Get the pointer address to the data as Python int.

scheduler_params

vGPU Scheduler Parameters.

scheduler_policy

Scheduler policy.

version

The version number of this struct.