cuda.bindings.nvml.vgpu_type_get_gpu_instance_profile_id#

cuda.bindings.nvml.vgpu_type_get_gpu_instance_profile_id(
unsigned int vgpu_type_id,
) unsigned int#

Retrieve the GPU Instance Profile ID for the given vGPU type ID. The API will return a valid GPU Instance Profile ID for the MIG capable vGPU types, else INVALID_GPU_INSTANCE_PROFILE_ID is returned.

Parameters:

vgpu_type_id (unsigned int) – Handle to vGPU type.

Returns:

GPU Instance Profile ID.

Return type:

unsigned int

See also

nvmlVgpuTypeGetGpuInstanceProfileId