cuda.bindings.nvml.vgpu_type_get_capabilities#
- cuda.bindings.nvml.vgpu_type_get_capabilities(
- unsigned int vgpu_type_id,
- int capability,
Retrieve the requested capability for a given vGPU type. Refer to the
nvmlVgpuCapability_tstructure for the specific capabilities that can be queried. The return value incap_resultshould be treated as a boolean, with a non-zero value indicating that the capability is supported.For Maxwell ™️ or newer fully supported devices.
- Parameters:
vgpu_type_id (unsigned int) – Handle to vGPU type.
capability (VgpuCapability) – Specifies the
nvmlVgpuCapability_tto be queried.
- Returns:
- A boolean for the queried capability indicating that
feature is supported.
- Return type:
unsigned int
See also
nvmlVgpuTypeGetCapabilities