cuda.bindings.nvml.device_get_clock#

cuda.bindings.nvml.device_get_clock(
intptr_t device,
int clock_type,
int clock_id,
) unsigned int#

Retrieves the clock speed for the clock specified by the clock type and clock ID.

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

  • clock_type (ClockType) – Identify which clock domain to query.

  • clock_id (ClockId) – Identify which clock in the domain to query.

Returns:

Reference in which to return the clock in MHz.

Return type:

unsigned int

See also

nvmlDeviceGetClock