IsSupportedAutoTuning
Checks if the automatic tuning is supported on a GPU.
Syntax
ADLX_RESULT IsSupportedAutoTuning (IADLXGPU * pGPU, adlx_bool* supported)
Parameters
-
[in]
pGPU IADLXGPU * The pointer to the GPU interface. -
[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 |