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

[DIP] Fix DIP codegen for supporting multi-channel processing #288

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

meshtag
Copy link
Member

@meshtag meshtag commented Feb 25, 2024

This PR handles the codegen backend part.
Comprehensive fix to #164 is the end-goal.

@meshtag meshtag added enhancement New feature or request DIP labels Feb 25, 2024
@meshtag meshtag force-pushed the 4D_memref_processing branch 3 times, most recently from 1c6b063 to e6100b3 Compare March 3, 2024 19:47
Fix dest memref load store pattern

Fix uneven padding issue
@meshtag
Copy link
Member Author

meshtag commented Mar 17, 2024

This is a simple sanity test for verifying that multi-channel processing is working as expected. The attached IR is lowered from the pattern added in this PR. It can be tested by lowering the file and then using mlir-cpu-runner.

The lowering pass pipeline (for the test file) is as follows:

-convert-linalg-to-loops -lower-affine -convert-scf-to-cf -convert-scf-to-cf -convert-vector-to-llvm --finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts

@meshtag meshtag marked this pull request as ready for review March 30, 2024 16:53
@meshtag meshtag requested a review from zhanghb97 March 30, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DIP enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant