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.

Parameters:
  • device (Device) – The identifier of the target device.

  • vgpu_type_id (unsigned int) – The vGPU type ID.

  • mode (unsigned int) – The placement mode. 0: Heterogeneous, 1: Homogeneous.

Returns:

The vGPU placement list structure.

Return type:

VgpuPlacementList_v2