cuda.bindings.nvml.device_get_gpu_instance_possible_placements_v2#

cuda.bindings.nvml.device_get_gpu_instance_possible_placements_v2(
intptr_t device,
unsigned int profile_id,
)#
Get GPU instance placements.

:param device: The identifier of the target device.
:type device: intptr_t
:param profile_id: The GPU instance profile ID. See ``nvmlDeviceGetGpuInstanceProfileInfo``.
:type profile_id: unsigned int

:returns: Returns placements allowed for the profile. Can be NULL to discover number of allowed placements for this profile. If non-NULL must be large enough to accommodate the placements supported by the profile.
:rtype: nvmlGpuInstancePlacement_t

.. seealso:: `nvmlDeviceGetGpuInstancePossiblePlacements_v2`