OpenParable
Skip to content
← Back to skills

Amdsmi Output Verification

Testing & Quality
amdsmi-output-verification

Amdsmi 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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
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:

  • vendor
  • device
  • subsystem_vendor
  • subsystem_device
  • revision
  • product_name
  • product_number
  • serial_number
  • mem_info_vram_total
  • mem_info_vram_used
  • gpu_busy_percent
  • pp_dpm_sclk
  • pp_dpm_mclk
  • pp_power_profile_mode

Availability varies by GPU, driver, kernel, and permission level.

Fields To Compare

FieldAMD SMI valueBaseline valueBaseline sourceResultNotes
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: