cuda.bindings.nvml.vgpu_type_get_license#
- cuda.bindings.nvml.vgpu_type_get_license(unsigned int vgpu_type_id) str#
Retrieve license requirements for a vGPU type.
The license type and version required to run the specified vGPU type is returned as an alphanumeric string, in the form “<license name>,<version>”, for example “GRID-Virtual-PC,2.0”. If a vGPU is runnable with* more than one type of license, the licenses are delimited by a semicolon, for example “GRID- Virtual-PC,2.0;GRID-Virtual-WS,2.0;GRID-Virtual-WS-Ext,2.0”. The total length of the returned string will not exceed 128 characters, including the NUL terminator. See nvmlVgpuConstants::NVML_GRID_LICENSE_BUFFER_SIZE. For Kepler ™️ or newer fully supported devices.
- Parameters:
vgpu_type_id (unsigned int) – Handle to vGPU type.
- Returns:
Pointer to buffer to return license info.
- Return type:
See also
nvmlVgpuTypeGetLicense