418988463f05a485e2ffa7e62e2231fed1db00a3
The purpose of this patch is to check if each valid clock is supported
on the GPU before attempting to retrieve its value.
The valid clocks are: dcefclk, fclk, mclk, pcie, sclk, socclk.
This should get rid of the 'one or more commands failed' message when
running --showclkfrq or --showclocks on a machine that doesn't support
all the possible valid clocks.
Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
Change-Id: I1fb10989fc1a36f38b68a23e17e6e600ed0ac85b
[ROCm/rocm_smi_lib commit: 3b52c895cc]
Description
Aucune description fournie
Langue
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Autre
1.1%