cuda.bindings.nvml.gpu_instance_get_compute_instance_remaining_capacity#

cuda.bindings.nvml.gpu_instance_get_compute_instance_remaining_capacity(
intptr_t gpu_instance,
unsigned int profile_id,
) unsigned int#

Get compute instance profile capacity.

Parameters:
  • gpu_instance (intptr_t) – The identifier of the target GPU instance.

  • profile_id (unsigned int) – The compute instance profile ID. See nvmlGpuInstanceGetComputeInstanceProfileInfo.

Returns:

Returns remaining instance count for the profile ID.

Return type:

unsigned int

See also

nvmlGpuInstanceGetComputeInstanceRemainingCapacity