Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix VNNI affine maps #998

Merged
merged 26 commits into from
Jan 10, 2025
Merged

Fix VNNI affine maps #998

merged 26 commits into from
Jan 10, 2025

Conversation

adam-smnk
Copy link
Contributor

Retires incorrect VNNI affine map representation using floordiv 2 and replaces it with an extra separate VNNI dimension in matrix operand A: expand <M x K> into <M x K/VNNI x VNNI>.

The updated VNNI representation is propagated through matchers, lowerings, and tests.
A new test is added to ensure correct results between Linalg to SCF loops and XSMM lowering.

@adam-smnk adam-smnk added the benchmark Benchmark base targets label Jan 6, 2025
@adam-smnk adam-smnk force-pushed the fix-vnni-affine-maps branch from 8d18e4c to 9f400b5 Compare January 6, 2025 14:36
@adam-smnk adam-smnk added benchmark Benchmark base targets and removed benchmark Benchmark base targets labels Jan 6, 2025
@adam-smnk
Copy link
Contributor Author

No benchmark regressions.

@adam-smnk adam-smnk removed the benchmark Benchmark base targets label Jan 6, 2025
@adam-smnk adam-smnk added the benchmark Benchmark base targets label Jan 6, 2025
@adam-smnk adam-smnk merged commit d42506b into libxsmm:main Jan 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark Benchmark base targets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants