cuda.bindings.nvml.device_get_vgpu_type_creatable_placements#

cuda.bindings.nvml.device_get_vgpu_type_creatable_placements(
intptr_t device,
unsigned int vgpu_type_id,
unsigned int mode,
)#
Query the creatable vGPU placement ID of the vGPU type within a GPU instance.

:param device: The identifier of the target device.
:type device: Device
:param vgpu_type_id: The vGPU type ID.
:type vgpu_type_id: unsigned int
:param mode: The placement mode. 0: Heterogeneous, 1: Homogeneous.
:type mode: unsigned int

:returns: The vGPU placement list structure.
:rtype: VgpuPlacementList_v2