cuda.bindings.nvml.device_create_gpu_instance#

cuda.bindings.nvml.device_create_gpu_instance(
intptr_t device,
unsigned int profile_id,
) intptr_t#
Create GPU instance.

: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 the GPU instance handle.
:rtype: intptr_t

.. seealso:: `nvmlDeviceCreateGpuInstance`