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.

Parameters:
  • device (intptr_t) – Identifier of the target device.

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

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

Returns:

Pointer to the vGPU placement structure nvmlVgpuPlacementList_t.

Return type:

nvmlVgpuPlacementList_v2_t

See also

nvmlDeviceGetVgpuTypeSupportedPlacements