cuda.bindings.nvml.gpu_instance_set_vgpu_scheduler_state#

cuda.bindings.nvml.gpu_instance_set_vgpu_scheduler_state(
intptr_t gpu_instance,
p_scheduler,
)#

Set vGPU scheduler state for the given GPU instance.

For Blackwell &tm GB20x; or newer fully supported devices. Scheduler state and params will be allowed to set only when no VM is running within the GPU instance. In nvmlVgpuSchedulerState_t, IFF enableARRMode is enabled then provide the avgFactor and frequency as input. If enableARRMode is disabled then provide timeslice as input. The scheduler state change won’t persist across module load/unload and GPU Instance creation/deletion.

Parameters:
  • gpu_instance (intptr_t) – The GPU instance handle.

  • p_scheduler (intptr_t) – Pointer to the caller-provided structure of nvmlVgpuSchedulerState_t.

See also

nvmlGpuInstanceSetVgpuSchedulerState