cuda.bindings.nvml.vgpu_type_get_capabilities#

cuda.bindings.nvml.vgpu_type_get_capabilities(
unsigned int vgpu_type_id,
int capability,
) → unsigned int#

Retrieve the requested capability for a given vGPU type. Refer to the nvmlVgpuCapability_t structure for the specific capabilities that can be queried. The return value in cap_result should 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_t to be queried.

Returns:

A boolean for the queried capability indicating that

feature is supported.

Return type:

unsigned int

See also

nvmlVgpuTypeGetCapabilities