IsValidGPUTuningStates

Checks if each GPU tuning state in a list is valid.

Syntax

Copied!

ADLX_RESULT     IsValidGPUTuningStates (IADLXManualTuningStateList * pGFXStates, adlx_int* errorIndex)

Parameters

  1. [in] pGFXStates IADLXManualTuningStateList * The pointer to the GPU states list interface.

  2. [out] errorIndex adlx_int* The pointer to a variable where the invalid states index is returned.

Return Value

If IsValidGPUTuningStates is successfully executed, ADLX_OK is returned.

If IsValidGPUTuningStates is not successfully executed, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Some GPUs allow multiple GPU tuning states. Each GPU tuning state is represented by the GPU clock speed and the GPU voltage.

Remarks

If the *pGFXStates is valid then the method sets the errorIndex to -1.

Requirements

Header

include “IGPUManualGFXTuning.h”

Minimum version

1.0