IsSupportedAutoTuning

Checks if the automatic tuning is supported on a GPU.

Syntax

Copied!

ADLX_RESULT     IsSupportedAutoTuning (IADLXGPU * pGPU, adlx_bool* supported)

Parameters

  1. [in] pGPU IADLXGPU * The pointer to the GPU interface.

  2. [out] supported adlx_bool* The pointer to a variable where the state of automatic tuning is returned. The variable is true if automatic tuning is supported. The variable is false if automatic tuning is not supported.

Return Value

If the state of automatic tuning is successfully returned, ADLX_OK is returned.

If the state of automatic tuning is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “IGPUTuning.h”

Minimum version

1.0