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.

:param vgpu_type_id: Handle to vGPU type.
:type vgpu_type_id: unsigned int
:param capability: Specifies the ``nvmlVgpuCapability_t`` to be queried.
:type capability: VgpuCapability

:returns: A boolean for the queried capability indicating that feature is supported.
:rtype: unsigned int

.. seealso:: `nvmlVgpuTypeGetCapabilities`