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

[ConvertToUnpack] Apply correct permutation when lowering unpack to DMA #794

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

newling
Copy link
Contributor

@newling newling commented Sep 23, 2024

Inverse permutation needs to be applied when converting unpack to DMA, not permutation. PR adds test with permutation P != P^{-1}, without which this bug is hidden. I've left a comment with that test explaining why this fix is required. Also, --cse is removed from the test lit command, to reduce noise.

Copy link
Collaborator

@jtuyls jtuyls left a comment

Choose a reason for hiding this comment

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

LGTM

@newling newling merged commit be22c19 into nod-ai:main Sep 23, 2024
6 checks passed
daveliddell pushed a commit to daveliddell/iree-amd-aie that referenced this pull request Oct 7, 2024
…MA (nod-ai#794)

Inverse permutation needs to be applied when converting unpack to DMA,
not permutation. PR adds test with permutation P != P^{-1}, without
which this bug is hidden. I've left a comment with that test explaining
why this fix is required. Also, `--cse` is removed from the test lit
command, to reduce noise.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants