Repository navigation
[tensilelite] Fix type mismatches in gfx950/gfx1250/gfx11xx device library YAML (2/3) - #8678
Closed
jaopaulolc wants to merge 1 commit into
Closed
jaopaulolc wants to merge 1 commit into
jaopaulolc wants to merge 1 commit into
Conversation
This was referenced Jun 22, 2026
…brary YAML Fix parameter type mismatches in gfx950, gfx1250, gfx1151, and gfx1201 logic files that cause std::bad_cast at runtime: - int -> bool: Activation, BufferStore, ExpandPointerSwap, LDSTrInst, MIArchVgpr, SourceSwap, StorePriorityOpt, TailloopInNll, Use64bShadowLimit, TransposeA, TransposeB - bool -> int: DirectToLds, DirectToLdsMetadata, SwapGlobalReadOrder, TransposeLDSMetadata, UsePLRPack - int -> float: GlobalReadPerMfma - float -> int: StaggerUStride
jaopaulolc
force-pushed
the
users/jolabega/fix-type-mismatch-gfx950-gfx12
branch
from
June 22, 2026 18:28
bc11d60 to
8337333
Compare
Contributor
Author
|
Closing in favour of #6609 which covers these fixes. |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (77.89%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #8678 +/- ##
========================================
Coverage 71.43% 71.43%
========================================
Files 2612 2612
Lines 406992 406992
Branches 60771 60771
========================================
Hits 290730 290730
Misses 94960 94960
Partials 21302 21302
*This pull request uses carry forward flags. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
Motivation
TensileLite device library YAML files for gfx950, gfx1250, gfx1151, and
gfx1201 configurations contain parameter type mismatches (int/bool/float
stored where a different type is expected). These cause
std::bad_castexceptions at runtime when msgpack deserialization encounters unexpected
wire types.
This is part 2 of a 3-part series splitting #8623 into reviewable chunks.
Technical Details
Bulk regex fixes applied to ~120 YAML library logic files and CustomKernels
assembly files (
.swith embedded YAML metadata) under:projects/hipblaslt/library/.../aquavanjaram/gfx950/projects/hipblaslt/library/.../aquavanjaram/gfx1250/projects/hipblaslt/library/.../aquavanjaram/gfx1151/projects/hipblaslt/library/.../aquavanjaram/gfx1201/projects/hipblaslt/tensilelite/Tensile/CustomKernels/*.sprojects/hipsparselt/library/.../aquavanjaram/gfx942/Conversions:
Activation,BufferStore,ExpandPointerSwap,LDSTrInst,MIArchVgpr,NoReject,PreloadKernArgs,SourceSwap,StorePriorityOpt,TailloopInNll,Use64bShadowLimit,TransposeA,TransposeBDirectToLds,DirectToLdsMetadata,SwapGlobalReadOrder,TransposeLDSMetadata,UsePLRPackGlobalReadPerMfmaStaggerUStrideNo logic or behavior change; only corrects serialized types to match
TensileLite's schema expectations.
Test Plan
test_validateParameterTypes.pyconfirm correct type detectionTest Result
Submission Checklist
Risk level
None — data-only change correcting serialized types to match schema; no logic change.
Associated ticket: N/A
PR Series