cuda.bindings.nvml.device_create_gpu_instance_with_placement#

cuda.bindings.nvml.device_create_gpu_instance_with_placement(
intptr_t device,
unsigned int profile_id,
intptr_t placement,
) intptr_t#
Create GPU instance with the specified placement.

: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
:param placement: The requested placement. See ``nvmlDeviceGetGpuInstancePossiblePlacements_v2``.
:type placement: intptr_t

:returns: Returns the GPU instance handle.
:rtype: intptr_t

.. seealso:: `nvmlDeviceCreateGpuInstanceWithPlacement`