cuda.bindings.nvml.set_vgpu_version#
- cuda.bindings.nvml.set_vgpu_version(vgpu_version)#
Override the preset range of vGPU versions supported by the NVIDIA vGPU Manager with a range set by an administrator.
This function configures the NVIDIA vGPU Manager with a range of supported vGPU versions set by an administrator. This range must be a subset of the preset range that the NVIDIA vGPU Manager supports. The custom range set by an administrator takes precedence over the preset range and is advertised to the guest VM for negotiating the vGPU version. See
nvmlGetVgpuVersionfor details of how to query the preset range of versions supported. This function takes a pointer to vGPU version range structurenvmlVgpuVersion_tas input to override the preset vGPU version range that the NVIDIA vGPU Manager supports. After host system reboot or driver reload, the range of supported versions reverts to the range that is preset for the NVIDIA vGPU Manager.- Parameters:
vgpu_version (intptr_t) – Pointer to a caller-supplied range of supported vGPU versions.
Note
1. The range set by the administrator must be a subset of the preset range that the NVIDIA vGPU Manager supports. Otherwise, an error is returned.
See also
nvmlSetVgpuVersion