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

next: Let of lists breaks UnrollReduce pass #1795

Open
tehrengruber opened this issue Jan 10, 2025 · 0 comments
Open

next: Let of lists breaks UnrollReduce pass #1795

tehrengruber opened this issue Jan 10, 2025 · 0 comments
Labels
gt4py.next Issues concerning the new version with support for non-cartesian grids.

Comments

@tehrengruber
Copy link
Contributor

tehrengruber commented Jan 10, 2025

Expressions like

let _cs_1 = neighbors(V2Eₒ, _inps1)
  reduce(λ(a, b) → a+b, 0)(_cs_1, _cs_1))(_cs_1)
end

currently break the UnrollReduce pass as it is unable to detect the neighbor dimension when only presented with _cs_1. For now we just avoid creating such expression in the CSE. This surfaced in #1793.

@havogt havogt added the gt4py.next Issues concerning the new version with support for non-cartesian grids. label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gt4py.next Issues concerning the new version with support for non-cartesian grids.
Projects
None yet
Development

No branches or pull requests

2 participants