cuda.bindings.nvml.device_set_memory_locked_clocks#

cuda.bindings.nvml.device_set_memory_locked_clocks(
intptr_t device,
unsigned int min_mem_clock_m_hz,
unsigned int max_mem_clock_m_hz,
)#

Set memory clocks that device will lock to.

Sets the device’s memory clocks to the value in the range of min_mem_clock_m_hz to max_mem_clock_m_hz. Can be used as a setting to request constant performance. Requires root/admin permissions. After system reboot or driver reload memory clocks go back to their default value. See nvmlDeviceResetMemoryLockedClocks. For Ampere ™️ or newer fully supported devices.

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

  • min_mem_clock_m_hz (unsigned int) – Requested minimum memory clock in MHz.

  • max_mem_clock_m_hz (unsigned int) – Requested maximum memory clock in MHz.

See also

nvmlDeviceSetMemoryLockedClocks