cuda.bindings.nvml.device_set_vgpu_scheduler_state#
- cuda.bindings.nvml.device_set_vgpu_scheduler_state(
- intptr_t device,
- intptr_t p_scheduler_state,
Sets the vGPU scheduler state.
For Pascal ™️ or newer fully supported devices. The scheduler state change won’t persist across module load/unload. Scheduler state and params will be allowed to set only when no VM is running. In
nvmlVgpuSchedulerSetState_t, IFF enableARRMode is enabled then provide avgFactorForARR and frequency as input. If enableARRMode is disabled then provide timeslice as input.- Parameters:
device (intptr_t) – The identifier of the target
device.p_scheduler_state (intptr_t) – vGPU
p_scheduler_stateto set.
See also
nvmlDeviceSetVgpuSchedulerState