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

feat[next][dace]: Skeleton of GTIR DaCe backend #1538

Open
wants to merge 64 commits into
base: main
Choose a base branch
from

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Apr 24, 2024

We introduce a new DaCe backend that translates a GTIR program to SDFG. GTIR is still sometimes referred to as Combined-IR and provides a fieldview representation of the GT4Py program. The GT4Py frontend is not ready to lower a GT4Py program to GTIR, so for now the unit tests use manually written GTIR programs as input.

The new DaCe backend is implemented in the package gt4py.next.program_processors.runners.dace_fieldview
This package provides, for now, the method build_sdfg_from_gtir to build the DaCe SDFG.

This PR introduces translation capability for the following GTIR types:ir.Program, ir.Stmt, ir.SetAt. And for the following new builtin functions: as_field_op and select.

@edopao edopao changed the title feat[next][dace]: GTIR DaCe backend feat[next][dace]: Skeleton of GTIR DaCe backend Apr 24, 2024
@edopao edopao requested review from egparedes and havogt May 7, 2024 08:07
Copy link
Contributor

@egparedes egparedes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good for me. I have some questions and comments about coding and typing style but they are minor.

@edopao edopao marked this pull request as ready for review May 17, 2024 09:34
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.

None yet

3 participants