Skip to content

GIM 9.1.0.K: re-vendor smi lib + wire UBB node power in GIM path#78

Merged
spraveenio merged 1 commit into
ROCm:mainfrom
bhatturu:feat/gim-9.1.0.K
Jul 15, 2026
Merged

GIM 9.1.0.K: re-vendor smi lib + wire UBB node power in GIM path#78
spraveenio merged 1 commit into
ROCm:mainfrom
bhatturu:feat/gim-9.1.0.K

Conversation

@bhatturu

Copy link
Copy Markdown
Contributor

Re-vendor third-party/rocm/gim_amd_smi_lib to 9.1.0.K (libgim_amd_smi.so RHEL9-built GLIBC 2.34, 9.1 header, version.txt).

Wire UBB node power in the GIM host-side walker, mirroring the non-GIM amdsmi path: stats->ubb_power from power_info.ubb_power, and ubb_power_cap from npm_info.ubb_power_threshold (9.1.0.K added the ubb_power_threshold field to amdsmi_npm_info_t and ubb_power to amdsmi_power_info_t). Decodes to 0 on GPUs that don't expose it (pre-MI350X).

amdsmi_metric_name_t expands 73 -> 171 entries (additive); the positional metric-stream walker recompiles against the new header, unhandled entries fall through to the existing default (sentinel).

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

Re-vendor third-party/rocm/gim_amd_smi_lib to 9.1.0.K (libgim_amd_smi.so
RHEL9-built GLIBC 2.34, 9.1 header, version.txt).

Wire UBB node power in the GIM host-side walker, mirroring the non-GIM
amdsmi path: stats->ubb_power from power_info.ubb_power, and ubb_power_cap
from npm_info.ubb_power_threshold (9.1.0.K added the ubb_power_threshold
field to amdsmi_npm_info_t and ubb_power to amdsmi_power_info_t). Decodes
to 0 on GPUs that don't expose it (pre-MI350X).

amdsmi_metric_name_t expands 73 -> 171 entries (additive); the positional
metric-stream walker recompiles against the new header, unhandled entries
fall through to the existing default (sentinel).

@rsrikanth86 rsrikanth86 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sarat-k sarat-k left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spraveenio
spraveenio merged commit 875d87b into ROCm:main Jul 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants