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

Loop collapsing with fusion #2618

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Conversation

chentong319
Copy link
Collaborator

This PR handles loop collapsing in op fusion. There are two parts:

  1. Decide which loops to be collapsed. When ops are fused, all its operands should be checked whether its dimensions are involved in broadcasting. Such information will be used to decide which loops should be collapsed.
  2. Code generation when some loops are collapsed.

Signed-off-by: chentong319 <[email protected]>
Signed-off-by: chentong319 <[email protected]>
@chentong319 chentong319 marked this pull request as draft November 13, 2023 22:14
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