2eff0b3764
The xgmi command was showing pcie bit rate and bandwidth instead of xgmi. Corrected the API to get xgmi data from gpu metric. Added python API for amdsmi_get_link_metrics. Modified the amdsmi_link_metrics struct. Added check to confirm non zero partition got xgmi command. --------- Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com> Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
AMD SMI CLI tool
A command line tool for manipulating and monitoring the amdgpu kernel;
amd-smi is intended to replace and deprecate the existing
rocm-smi CLI tool.
When using the CLI tool, you should have at least one AMD GPU and the driver installed.
Note
The AMD SMI CLI tool is provided as an example code to aid the development of telemetry tools. The Python or C++ library is recommended as a robust data source.
Find the documentation in the docs/ directory.
Online documentation
Explore the latest documentation on the ROCm documentation portal.