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.

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

  • profile_id (unsigned int) – The GPU instance profile ID. See nvmlDeviceGetGpuInstanceProfileInfo.

Returns:

Returns the GPU instance handle.

Return type:

intptr_t

See also

nvmlDeviceCreateGpuInstance