cuda.bindings.nvml.device_set_auto_boosted_clocks_enabled#

cuda.bindings.nvml.device_set_auto_boosted_clocks_enabled(intptr_t device, int enabled)#

Try to set the current state of Auto Boosted clocks on a device.

For Kepler ™️ or newer fully supported devices. Auto Boosted clocks are enabled by default on some hardware, allowing the GPU to run at higher clock rates to maximize performance as thermal limits allow. Auto Boosted clocks should be disabled if fixed clock rates are desired. Non-root users may use this API by default but can be restricted by root from using this API by calling nvmlDeviceSetAPIRestriction with apiType=NVML_RESTRICTED_API_SET_AUTO_BOOSTED_CLOCKS. Note: Persistence Mode is required to modify current Auto Boost settings, therefore, it must be enabled. On Pascal and newer hardware, Auto Boosted clocks are controlled through application clocks. Use nvmlDeviceSetApplicationsClocks and nvmlDeviceResetApplicationsClocks to control Auto Boost behavior.

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

  • enabled (EnableState) – What state to try to set Auto Boosted clocks of the target device to.

See also

nvmlDeviceSetAutoBoostedClocksEnabled