cuda.bindings.nvml.device_get_vgpu_type_supported_placements#

cuda.bindings.nvml.device_get_vgpu_type_supported_placements(
intptr_t device,
unsigned int vgpu_type_id,
unsigned int mode,
)#
Query the supported vGPU placement ID of the vGPU type.

:param device: Identifier of the target device.
:type device: intptr_t
:param vgpu_type_id: Handle to vGPU type. The vGPU type ID.
:type vgpu_type_id: unsigned int
:param mode: The placement mode. 0: Heterogeneous, 1: Homogeneous.
:type mode: unsigned int

:returns: Pointer to the vGPU placement structure ``nvmlVgpuPlacementList_t``.
:rtype: nvmlVgpuPlacementList_v2_t

.. seealso:: `nvmlDeviceGetVgpuTypeSupportedPlacements`