cuda.bindings.nvml.device_get_encoder_capacity#

cuda.bindings.nvml.device_get_encoder_capacity(
intptr_t device,
int encoder_query_type,
) unsigned int#

Retrieves the current capacity of the device’s encoder, as a percentage of maximum encoder capacity with valid values in the range 0-100.

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

  • encoder_query_type (EncoderType) – Type of encoder to query.

Returns:

Reference to an unsigned int for the encoder capacity.

Return type:

unsigned int

See also

nvmlDeviceGetEncoderCapacity