Amdsmi Output Verification
Testing & Qualityamdsmi-output-verificationAmdsmi Output Verification is an Agent Skill for testing & quality published in the ROCm/rocm-systems repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
A checklist for verifying whether AMD SMI is reporting GPU information correctly.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/ROCm/rocm-systems/blob/HEAD/projects/amdsmi/.claude/skills/amdsmi-output-verification/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/amdsmi-output-verification, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
AMD SMI Output Correctness Verification
Use this checklist whenever AMD SMI appears to report incorrect GPU information. The goal is to distinguish a real AMD SMI defect from a driver, firmware, environment, documentation, or expectation mismatch.
Test Metadata
When running a test, include the following metadata to help with triage and debugging:
- Date:
- Host:
- OS:
- Kernel:
- ROCm version:
- AMD SMI version:
- AMDGPU driver version:
- Bare metal / container / VM:
- GPU model:
- GPU count:
Commands To Capture
Capture raw output, without editing values.
amd-smi version
amd-smi list
amd-smi static
amd-smi metric
amd-smi monitor
rocminfo
rocm-smi
lspci -nn
lspci -vv
dmesg
Also capture relevant sysfs values:
find /sys/class/drm -maxdepth 4 -type f
For each tested GPU, inspect the matching card path under:
/sys/class/drm/card*/device
Useful files often include:
vendordevicesubsystem_vendorsubsystem_devicerevisionproduct_nameproduct_numberserial_numbermem_info_vram_totalmem_info_vram_usedgpu_busy_percentpp_dpm_sclkpp_dpm_mclkpp_power_profile_mode
Availability varies by GPU, driver, kernel, and permission level.
Fields To Compare
| Field | AMD SMI value | Baseline value | Baseline source | Result | Notes |
|---|---|---|---|---|---|
| GPU name | |||||
| ASIC name | |||||
| Vendor ID | |||||
| Device ID | |||||
| Subsystem ID | |||||
| Revision ID | |||||
| PCI BDF | |||||
| VRAM total | |||||
| Memory type | |||||
| VBIOS version | |||||
| Firmware versions | |||||
| Driver version | |||||
| ROCm version | |||||
| Temperature | |||||
| Power | |||||
| Clocks | |||||
| Utilization | |||||
| ECC/RAS support | |||||
| Process reporting |
Result Labels
- Correct: AMD SMI matches trusted baseline.
- Missing: AMD SMI does not expose a value that appears available elsewhere.
- Unsupported: AMD SMI explicitly reports the field is unsupported.
- Incorrect: AMD SMI reports a value that conflicts with trusted baseline.
- Misleading: AMD SMI value is technically present but ambiguous, mislabeled, or likely to confuse users.
- Environment-dependent: result changes depending on permissions, container, VM, kernel, or driver state.
Finding Template
Incorrect or Misleading Field
- GPU:
- ROCm version:
- AMD SMI version:
- Environment:
- Field:
- AMD SMI command/API:
- AMD SMI value:
- Expected value:
- Baseline source:
- Why baseline is trusted:
- Reproducibility:
- Severity:
- Suggested fix: