OnGPUAutoTuningComplete

The OnGPUAutoTuningComplete is called by ADLX when GPU tuning completes.

Syntax

Copied!

adlx_bool    OnGPUAutoTuningComplete (IADLXGPUAutoTuningCompleteEvent * pGPUAutoTuningCompleteEvent)

Parameters

  1. [in] pGPUAutoTuningCompleteEvent IADLXGPUAutoTuningCompleteEvent * The pointer to a GPU tuning complete event.

Return Value

If the application requires ADLX to continue notifying the next listener, true must be returned.

If the application requires ADLX to stop notifying the next listener, false must be returned.

Remarks

Once the application registers to the notifications with StartUndervoltGPU , StartOverclockGPU , and StartOverclockVRAM , ADLX will call this method when GPU tuning completes. The method should return quickly to not block the execution path in ADLX. If the method requires a long processing of the event notification, the application must hold onto a reference to the GPU tuning complete event with Acquire and make it available on an asynchronous thread and return immediately. When the asynchronous thread is done processing it must discard the GPU tuning complete event with Release .

Requirements

Header

include “IGPUAutoTuning.h”

Minimum version

1.0