code: def nvmlDeviceGetAutoBoostedClocksEnabled(handle):
      r
      c_isEnabled = _nvmlEnableState_t()
      c_defaultIsEnabled = _nvmlEnableState_t()
      fn = _nvmlGetFunctionPointer("nvmlDeviceGetAutoBoostedClocksEnabled")
      ret = fn(handle, byref(c_isEnabled), byref(c_defaultIsEnabled))
      _nvmlCheckReturn(ret)
      return [c_isEnabled.value, c_defaultIsEnabled.value]
docs: r"""
      /**
       * Retrieve the current state of Auto Boosted clocks on a device and store it in \a isEnabled
       *
       * For Kepler &tm; 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.
       *
       * On Pascal and newer hardware, Auto Aoosted clocks are controlled through application clocks.
       * Use \ref nvmlDeviceSetApplicationsClocks and \ref nvmlDeviceResetApplicationsClocks to control Auto Boost
       * behavior.
       *
       * @param device                               The identifier of the target device
       * @param isEnabled                            Where to store the current state of Auto Boosted clocks of the target device
       * @param defaultIsEnabled                     Where to store the default Auto Boosted clocks behavior of the target device that the device will
       *                                                 revert to when no applications are using the GPU
       *
       * @return
       *         - \ref NVML_SUCCESS                 If \a isEnabled has been been set with the Auto Boosted clocks state of \a device
       *         - \ref NVML_ERROR_UNINITIALIZED     if the library has not been successfully initialized
       *         - \ref NVML_ERROR_INVALID_ARGUMENT  if \a device is invalid or \a isEnabled is NULL
       *         - \ref NVML_ERROR_NOT_SUPPORTED     if the device does not support Auto Boosted clocks
       *         - \ref NVML_ERROR_GPU_IS_LOST       if the target GPU has fallen off the bus or is otherwise inaccessible
       *         - \ref NVML_ERROR_UNKNOWN           on any unexpected error
       *
       */
      nvmlReturn_t DECLDIR nvmlDeviceGetAutoBoostedClocksEnabled