Skip to content

[SM6.10] LinAlg Validation: MatrixAccumulateToMemory - #8835

Open
Ashley Coleman (V-FEXrt) wants to merge 1 commit into
mainfrom
linalg-vali-matrixaccumulatetomemory
Open

[SM6.10] LinAlg Validation: MatrixAccumulateToMemory#8835
Ashley Coleman (V-FEXrt) wants to merge 1 commit into
mainfrom
linalg-vali-matrixaccumulatetomemory

Conversation

@V-FEXrt

Copy link
Copy Markdown
Collaborator

Fixes #8507

Implements LinAlg MatrixAccumulateToMemory validation rules


Stack created with GitHub Stacks CLIGive Feedback 💬

@damyanp Damyan Pepper (damyanp) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

CI, ValidationRule::InstrLinAlgMatrixUseMismatch,
{"Input", MatrixUseToString(Mat->Use), "Accumulator"});

GEPOperator *GSGEP = cast<GEPOperator>(Op.get_memory());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some of the code from here downwards looks extremely similar to some of the code in #8834. Is there a shared helper that could be factored out?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yeah the code is almost identical but there are some extra chunks in various places that make a giant reused function not work. Once the stack merges I'll circle around and look into extracting some of them. Some the of pending changes also make the duplicated code a bit simpler as well

Base automatically changed from linalg-vali-matrixstoretomemory to main September 1, 2026 21:35
Fixes #8507

Implements LinAlg MatrixAccumulateToMemory validation rules
@V-FEXrt
Ashley Coleman (V-FEXrt) force-pushed the linalg-vali-matrixaccumulatetomemory branch from 01ad128 to c6cf2ae Compare September 1, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

2 participants