Ori Messinger 418988463f ROCm SMI Python CLI: Fix --showclkfrq/--showclocks Failure
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]
2020-12-18 17:46:23 -05:00
S
Description
Aucune description fournie
282 MiB
Langue
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Autre 1.1%