Skip to content

Conversation

@edopao
Copy link
Contributor

@edopao edopao commented Nov 11, 2025

No description provided.

Copy link
Contributor

@philip-paul-mueller philip-paul-mueller left a 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.



@dace_library.node
class Fill(dace_nodes.LibraryNode):
Copy link
Contributor

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).

@philip-paul-mueller
Copy link
Contributor

@edopao
I am not sure if we should add the transformations we need already in this PR or in a later one.
If we put it in a later one, we should patch the optimizer to expand the node right at the beginning, this way we preserve the current behaviour and performance.

@edopao
Copy link
Contributor Author

edopao commented Nov 24, 2025

cscs-ci run default

@edopao
Copy link
Contributor Author

edopao commented Nov 24, 2025

cscs-ci run default

@edopao
Copy link
Contributor Author

edopao commented Nov 24, 2025

cscs-ci run default

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.

3 participants