cuda.bindings.nvml.device_get_gpu_instance_remaining_capacity#

cuda.bindings.nvml.device_get_gpu_instance_remaining_capacity(
intptr_t device,
unsigned int profile_id,
) unsigned int#

Get GPU instance profile capacity.

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

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

Returns:

Returns remaining instance count for the profile ID.

Return type:

unsigned int

See also

nvmlDeviceGetGpuInstanceRemainingCapacity