fix(gpuagent): widen ECC block iterator to uint64_t for amdsmi 27.1.0 - #97
Merged
sarat-k merged 1 commit intoSep 24, 2026
Merged
Conversation
amdsmi PR rocm-systems#10973 expanded AMDSMI_GPU_BLOCK_LAST from bit 18 (MPIO) to bit 38 (UCIE_PCS). The uint32_t ECC loop iterator overflows at bit 31 and wraps to 0, creating an infinite loop (same bug RDC hit and fixed per rocm-systems#11722 changelog). Widen to uint64_t in all 4 sites. Update vendored amdsmi libs+header to 27.1.0+4c2f7505.
spraveenio
pushed a commit
to ROCm/device-metrics-exporter
that referenced
this pull request
Sep 24, 2026
…#1631) (#659) - ROCM_VERSION 10.1.0rc1 -> 10.1.0rc2 - GPUAGENT_COMMIT -> 26807f975a35 (ROCm/gpu-agent#97, ECC block iterator uint32 -> uint64 for amdsmi 27.1.0 block expansion) - v1.5.3 release notes (cherry picked from commit b51f214de47a4cf17515e7ef34b924a721d2bbc1) Co-authored-by: Bhanu Kiran Atturu <bhatturu@amd.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
amdsmi PR rocm-systems#10973 expanded AMDSMI_GPU_BLOCK_LAST from bit 18 (MPIO) to bit 38 (UCIE_PCS). The uint32_t ECC loop iterator overflows at bit 31 and wraps to 0, creating an infinite loop (same bug RDC hit and fixed per rocm-systems#11722 changelog). Widen to uint64_t in all 4 sites. Update vendored amdsmi libs+header to 27.1.0+4c2f7505.
Motivation
Technical Details
Test Plan
Test Result
Submission Checklist