Fix TDM GSU offset for all MX datatype and transpose cases#7401
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (77.83%) 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 #7401 +/- ##
========================================
Coverage 61.87% 61.87%
========================================
Files 2086 2086
Lines 357038 357035 -3
Branches 53806 53806
========================================
Hits 220892 220892
+ Misses 117348 117345 -3
Partials 18798 18798
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates TDM address calculation to correctly account for GlobalSplitU (GSU) offsets across MX datatypes and transpose-related cases, and expands MX test coverage for GSU>1.
Changes:
- Replace hardcoded TDM stride selection (
strideRef(tc, 3)) with a dynamically derived “unroll” index. - Add GSU-based address offsetting in TDM (including MX-specific scaling).
- Expand MX YAML test matrices to include
GlobalSplitU: [1,2,4,8].
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| projects/hipblaslt/tensilelite/Tensile/Tests/common/gemm/gfx12/mxf8f4ss_gfx1250.yaml | Expands MX test coverage for additional GSU values. |
| projects/hipblaslt/tensilelite/Tensile/Tests/common/gemm/gfx12/mxf8_gfx1250.yaml | Expands multiple benchmark problem blocks to cover GSU=[2,4,8]. |
| projects/hipblaslt/tensilelite/Tensile/Components/TensorDataMover.py | Computes dynamic unroll stride and applies GSU offset in TDM start-address logic (MX + non-MX). |
| projects/hipblaslt/tensilelite/Tensile/Components/GSU.py | Minor string-formatting modernization for MX size SGPR reference. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
32ca18e to
ab11deb
Compare
9b65b35 to
1b67e1a
Compare
- Replaced hardcoded strideRef(tc, 3) with dynamic unroll index - Supported GSU for MX datatype - Added GSU=[2,4,8] coverage to MX test yamls
|
Motivation
TDM support GSU MB
Technical Details
Add GSU offset in TDM mode
Test Plan
hipblast-test and test yaml passed
Test Result
hipblast-test and test yaml passed
Submission Checklist