-
Notifications
You must be signed in to change notification settings - Fork 54
feat[next][dace]: Use SDFG library node for lowering of broadcast expressions #2386
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
base: main
Are you sure you want to change the base?
Conversation
f94a037 to
ef9ef92
Compare
philip-paul-mueller
left a comment
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.
There are some refinements needed.
src/gt4py/next/program_processors/runners/dace/gtir_to_sdfg_primitives.py
Show resolved
Hide resolved
src/gt4py/next/program_processors/runners/dace/sdfg_library_nodes.py
Outdated
Show resolved
Hide resolved
|
|
||
|
|
||
| @dace_library.node | ||
| class Fill(dace_nodes.LibraryNode): |
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.
I would add some more semantic, i.e. an input connector, that collects the value that should be broadcasted and an output connector for the output.
I am also wondering if it would make sense to have two different library nodes.
One where the value that is broadcast is a literal, like 0.0 and one, which is probably the current one, where the value is read from another data descriptor (might be hard to integrate into the lowering).
src/gt4py/next/program_processors/runners/dace/sdfg_library_nodes.py
Outdated
Show resolved
Hide resolved
src/gt4py/next/program_processors/runners/dace/sdfg_library_nodes.py
Outdated
Show resolved
Hide resolved
src/gt4py/next/program_processors/runners/dace/sdfg_library_nodes.py
Outdated
Show resolved
Hide resolved
src/gt4py/next/program_processors/runners/dace/sdfg_library_nodes.py
Outdated
Show resolved
Hide resolved
src/gt4py/next/program_processors/runners/dace/sdfg_library_nodes.py
Outdated
Show resolved
Hide resolved
src/gt4py/next/program_processors/runners/dace/sdfg_library_nodes.py
Outdated
Show resolved
Hide resolved
src/gt4py/next/program_processors/runners/dace/sdfg_library_nodes.py
Outdated
Show resolved
Hide resolved
bc04cfc to
25abd36
Compare
src/gt4py/next/program_processors/runners/dace/sdfg_library_nodes.py
Outdated
Show resolved
Hide resolved
|
@edopao |
src/gt4py/next/program_processors/runners/dace/gtir_to_sdfg_primitives.py
Outdated
Show resolved
Hide resolved
|
cscs-ci run default |
|
cscs-ci run default |
|
cscs-ci run default |
No description provided.