파일
rocm-systems/amdsmi_cli
Bindhiya Kanangot Balakrishnan f0453c2c75 [SWDEV-543308] Fix xgmi_metrics_info initialization in xgmi
The xgmi_metrics_info variable was being referenced before
assignment when no destination GPUs were found or when the API
call failed. This caused an UnboundLocalError. Fixed this by
initializing xgmi_metrics_info with empty links structure.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
2025-08-07 16:19:10 -05:00
..
2025-07-07 11:18:40 -05:00

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.