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

AIRSplitL2Memref: Code refactor to improve generality #884

Merged

Conversation

erwei-xilinx
Copy link
Collaborator

@erwei-xilinx erwei-xilinx commented Jan 27, 2025

This PR is aimed at making -air-split-l2-memref pass support L2 memref splitting with non-unit step size from a parent scf.for loop, which represent a strided access pattern along the dimension subject to splitting.

Under such scenario, the split data movement ops must inherit the stride originating from the for loop. In addition, the for loop's step size must be mutated into one, such that the data access pattern on the post-splitting memref is contiguous.

…check for operand equivalence except for constants
…within an scf.parallel via parallel loop unrolling
… track of the splitting dimension per channel put/get
@erwei-xilinx erwei-xilinx changed the title AIRSplitL2Memref: Enable affine_map field for MM2S and S2MM splitting modes AIRSplitL2Memref: Code refactor to improve generality Feb 1, 2025
@erwei-xilinx erwei-xilinx marked this pull request as ready for review February 5, 2025 00:25
@erwei-xilinx erwei-xilinx requested a review from fifield as a code owner February 5, 2025 00:25
@erwei-xilinx erwei-xilinx enabled auto-merge (squash) February 5, 2025 00:50
@erwei-xilinx erwei-xilinx merged commit 264fec6 into Xilinx:main Feb 5, 2025
11 checks passed
@erwei-xilinx erwei-xilinx deleted the refactor_split_l2_using_densemaps branch February 5, 2025 01:07
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.

1 participant