IsSupportedNPUFrequency
Checks if the NPU frequency metric reporting is supported on a GPU.
Syntax
ADLX_RESULT IsSupportedNPUFrequency (adlx_bool* supported)
Parameters
-
[out]
supported adlx_bool* The pointer to a variable where the state of NPU frequency metric reporting is returned. The variable is true if the NPU frequency metric reporting is supported. The variable is false if the NPU frequency metric reporting is not supported.
Return Value
If the state of NPU frequency metric reporting is successfully returned, ADLX_OK is returned.
If the state of NPU frequency metric reporting is not successfully returned, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
Requirements
Header |
include “IPerformanceMonitoring2.h” |
Minimum version |
1.3 |