[][src]Function nvml_binding::bindings::nvmlDeviceResetApplicationsClocks

pub unsafe extern "C" fn nvmlDeviceResetApplicationsClocks(
    device: nvmlDevice_t
) -> nvmlReturn_t

Resets the application clock to the default value

This is the applications clock that will be used after system reboot or driver reload. Default value is constant, but the current value an be changed using \ref nvmlDeviceSetApplicationsClocks.

On Pascal and newer hardware, if clocks were previously locked with \ref nvmlDeviceSetApplicationsClocks, this call will unlock clocks. This returns clocks their default behavior ofautomatically boosting above base clocks as thermal limits allow.

@see nvmlDeviceGetApplicationsClock @see nvmlDeviceSetApplicationsClocks

For Fermi &tm; or newer non-GeForce fully supported devices and Maxwell or newer GeForce devices.

@param device The identifier of the target device

@return - \ref NVML_SUCCESS if new settings were successfully set - \ref NVML_ERROR_UNINITIALIZED if the library has not been successfully initialized - \ref NVML_ERROR_INVALID_ARGUMENT if \a device is invalid - \ref NVML_ERROR_NOT_SUPPORTED if the device does not support this feature - \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