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

[ConvertToRISCV] Fallback to Linalg lowering if xdsl-opt fails #110

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

zero9178
Copy link
Member

While we are not able to leverage snitch's SSR and FREP extension if xdsl-opt fails, our schedule and use of L1 memory should generally lead to performance improvements over the LLVM backend's kernel. This PR therefore changes the mechanism when xdsl-opt fails to inline the linalg operation and erase the quidditch_snitch.memref.microkernel, instead of the current behavior of discarding the kernel entirely.

While we are not able to leverage snitch's SSR and FREP extension if `xdsl-opt` fails, our schedule and use of L1 memory should generally lead to performance improvements over the LLVM backend's kernel.
This PR therefore changes the mechanism when `xdsl-opt` fails to inline the linalg operation and erase the `quidditch_snitch.memref.microkernel`, instead of the current behavior of discarding the kernel entirely.
@zero9178 zero9178 merged commit 539c632 into main Aug 16, 2024
2 checks passed
@zero9178 zero9178 deleted the fallback-linalg-lower branch August 16, 2024 10:18
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