refactor(hipblaslt): convert gfx950 F8B8F8S library logic to dict format - #10403
Open
dsaffars wants to merge 1 commit into
Open
refactor(hipblaslt): convert gfx950 F8B8F8S library logic to dict format#10403dsaffars wants to merge 1 commit into
dsaffars wants to merge 1 commit into
Conversation
Convert 12 gfx950 F8B8F8S library logic YAML files from list to dict format. # Batch: F8B8F8S # Per-file lines (before -> after): gfx950/Origami/Origami_nta4/gfx950_Cijk_Ailk_Bjlk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 11112 -> 8123 gfx950/Origami/Origami_nta4/gfx950_Cijk_Ailk_Bljk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 19887 -> 14362 gfx950/Origami/Origami_nta4/gfx950_Cijk_Alik_Bjlk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 19887 -> 14357 gfx950/Origami/Origami_nta4/gfx950_Cijk_Alik_Bljk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 31361 -> 22462 gfx950/Origami/Origami_ntb4/gfx950_Cijk_Ailk_Bjlk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 11112 -> 8123 gfx950/Origami/Origami_ntb4/gfx950_Cijk_Ailk_Bljk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 19887 -> 14362 gfx950/Origami/Origami_ntb4/gfx950_Cijk_Alik_Bjlk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 19887 -> 14357 gfx950/Origami/Origami_ntb4/gfx950_Cijk_Alik_Bljk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 31361 -> 22462 gfx950/Origami/gfx950_Cijk_Ailk_Bjlk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 11112 -> 8074 gfx950/Origami/gfx950_Cijk_Ailk_Bljk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 19887 -> 14274 gfx950/Origami/gfx950_Cijk_Alik_Bjlk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 19887 -> 14269 gfx950/Origami/gfx950_Cijk_Alik_Bljk_F8B8F8S_BH_BiasSHB_HAS_SAB_SAV_UserArgs.yaml: 31361 -> 22323 Total: 246741 -> 177548 lines across 12 files.
✅ All Checks Passed — Ready for Review
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🎉 All checks passed! This PR is ready for review. |
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.
JIRA ID: AIHPBLAS-4216
Convert 12 gfx950 F8B8F8S library logic YAML files from list to dict format.
Motivation
TensileLite is migrating gfx950 library logic YAML from the legacy list format to the canonical dict format. The dict format uses explicit root keys (
ArchitectureName,CUCount,ProblemType,Solutions, etc.) and is the formatTensileCreateLibrarynow emits by default.The F8B8F8S datatype family continues the stacked gfx950 library logic conversion. Migrating these files improves maintainability, aligns shipped logic with the current serialization contract, and reduces YAML size without changing kernel selection behavior.
Technical Details
This PR converts 12 gfx950 F8B8F8S library logic YAML files under:
projects/hipblaslt/library/src/amd_detail/rocblaslt/src/Tensile/Logic/asm_full/gfx950/gfx950/Origami/projects/hipblaslt/library/src/amd_detail/rocblaslt/src/Tensile/Logic/asm_full/gfx950/gfx950/Origami/Origami_nta4/projects/hipblaslt/library/src/amd_detail/rocblaslt/src/Tensile/Logic/asm_full/gfx950/gfx950/Origami/Origami_ntb4/Format changes (no semantic changes intended):
MinimumRequiredVersion,ScheduleName,ArchitectureName,CUCount,DeviceNames,ProblemType, …).ProblemTypefields are nested under aProblemType:mapping instead of inline list items.Solutions:dict keyed by solution name.True/False→true/false).Scope summary:
| Metric | Before | After |
|--------|--------|-------|
| Files | 12 | 12 |
| Total lines | 246,741 | 177,548 |
This PR is YAML-only; no runtime, generator, or test-code changes. It builds on
users/dsaffars/Lib_conv_gfx950_F8B8B8Sin the stacked PR series.Test Plan
For each of the 12 converted files, pre-conversion list-format YAML is compared against the new dict-format YAML using a script (same parser path as
TensileCreateLibrary):Test Result
For all 12/12 F8B8F8S files parsed solutions, problem types, and matching tables are semantically identical between list and dict formats.
File integrity: No files added or removed; only format conversion within the existing 12 F8B8F8S logic files (Origami, Origami/Origami_nta4, Origami/Origami_ntb4).
Line count: Total YAML size reduced from 246,741 to 177,548 lines (~28% reduction) with no intended change to kernel selection behavior.