cuda.bindings.nvml.gpu_instance_get_compute_instance_possible_placements#

cuda.bindings.nvml.gpu_instance_get_compute_instance_possible_placements(
intptr_t gpu_instance,
unsigned int profile_id,
)#
Get compute instance placements.

:param gpu_instance: The identifier of the target GPU instance.
:type gpu_instance: intptr_t
:param profile_id: The compute instance profile ID. See ``nvmlGpuInstanceGetComputeInstanceProfileInfo``.
: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: nvmlComputeInstancePlacement_t

.. seealso:: `nvmlGpuInstanceGetComputeInstancePossiblePlacements`