-
Notifications
You must be signed in to change notification settings - Fork 94
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
Fixing dynamic objectFifo #1907
Conversation
Coverage ReportCreated: 2024-12-05 23:21Click here for information about interpreting this report.
Generated by llvm-cov -- llvm version 14.0.0 |
Note: The sliding_window_conditional example is the only one that fails now, but this issue appears unrelated to dynamic objectFifos. The example defines 3 input objectFifos, but only 2 buffers are created when lowered using the |
Since the problem is unrelated to the dynamic objectFifos, I have pushed a working MLIR version of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fix!
Regarding the sliding_window_conditional example, it appears that the if-statement does not lower from IRON to MLIR as there is no wrapper similar to the for_ loop statement. As we plan to add this change in a subsequent PR I am happy to merge this fix in already.
For the record, mlir-python-extras should contain some wrappers for if statements e.g., here: https://github.com/makslevental/mlir-python-extras/blob/b19f9b4246a0e092a2f30eaa6dde8584adb64bc5/mlir/extras/dialects/ext/scf.py#L363 I have not attempted to use them in IRON, but wanted to mention them for whoever goes down that path later on! |
Issue #1884