Gets the GPU power consumption of a GPU metric sample.
ADLX_RESULT GPUPower (adlx_double* data)
[out]data adlx_double* The pointer to a variable where the GPU power consumption (in W) is returned.
If the GPU power is successfully returned, ADLX_OK is returned.
If the GPU power is not successfully returned, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.