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

[SYCL][Graph][Doc] Specify API for whole graph updates #13253

Merged
merged 12 commits into from
Jul 3, 2024

Conversation

fabiomestre
Copy link
Contributor

@fabiomestre fabiomestre commented Apr 2, 2024

Adds API entries and descriptions for the whole graph update feature, which allows updating an executable command_graph using another modifiable graph with the same topology. This provides a cleaner alternative to individual node update, especially when using graph recording or updating a large number of parameters.

The PR also includes a small usage example.

@EwanC
Copy link
Contributor

EwanC commented Apr 3, 2024

We could use a more detailed PR description of what this feature is, since developers may come across it that are not directly on the graphs team.

Can also put [Doc] in the title since it's documentation only.

@fabiomestre fabiomestre changed the title [SYCL][Graph] Specify API for whole graph updates [SYCL][Graph][Doc] Specify API for whole graph updates Apr 3, 2024
sommerlukas pushed a commit that referenced this pull request Apr 9, 2024
@Bensuo Bensuo marked this pull request as ready for review May 23, 2024 14:21
@Bensuo Bensuo requested a review from a team as a code owner May 23, 2024 14:21
- Clarify what topologically identical means
- Clarify what oeprations must be in the same order
- Minor wording changes
- Allow barrier and empty nodes in whole-graph update
- Minor topology wording clarifications
@Bensuo
Copy link
Contributor

Bensuo commented Jun 11, 2024

Tagging @gmlueck to review new changes.

EwanC added a commit to reble/llvm that referenced this pull request Jun 20, 2024
In order to enable the minimum viable real life usecase
for the Whole Graph Update feature. Allow graphs to contain
empty nodes and barrier nodes during update.

See discussion thread
intel#13253 (comment)
on SYCL-Graph spec PR for publicizing the availability of the
Whole Graph Update feature.
EwanC added a commit to reble/llvm that referenced this pull request Jun 20, 2024
In order to enable the minimum viable real life usecase
for the Whole Graph Update feature. Allow graphs to contain
empty nodes and barrier nodes during update.

See discussion thread
intel#13253 (comment)
on SYCL-Graph spec PR for publicizing the availability of the
Whole Graph Update feature.
EwanC added a commit to reble/llvm that referenced this pull request Jun 20, 2024
In order to enable the minimum viable real life usecase
for the Whole Graph Update feature. Allow graphs to contain
empty nodes and barrier nodes during update.

See discussion thread
intel#13253 (comment)
on SYCL-Graph spec PR for publicizing the availability of the
Whole Graph Update feature.
EwanC added a commit to reble/llvm that referenced this pull request Jun 20, 2024
In order to enable the minimum viable real life usecase
for the Whole Graph Update feature. Allow graphs to contain
empty nodes and barrier nodes during update.

See discussion thread
intel#13253 (comment)
on SYCL-Graph spec PR for publicizing the availability of the
Whole Graph Update feature.
EwanC added a commit to reble/llvm that referenced this pull request Jun 21, 2024
In order to enable the minimum viable real life usecase
for the Whole Graph Update feature. Allow graphs to contain
empty nodes and barrier nodes during update.

See discussion thread
intel#13253 (comment)
on SYCL-Graph spec PR for publicizing the availability of the
Whole Graph Update feature.
EwanC added a commit to reble/llvm that referenced this pull request Jun 24, 2024
In order to enable the minimum viable real life usecase
for the Whole Graph Update feature. Allow graphs to contain
empty nodes and barrier nodes during update.

See discussion thread
intel#13253 (comment)
on SYCL-Graph spec PR for publicizing the availability of the
Whole Graph Update feature.
EwanC added a commit to reble/llvm that referenced this pull request Jun 24, 2024
In order to enable the minimum viable real life usecase
for the Whole Graph Update feature. Allow graphs to contain
empty nodes and barrier nodes during update.

See discussion thread
intel#13253 (comment)
on SYCL-Graph spec PR for publicizing the availability of the
Whole Graph Update feature.
steffenlarsen pushed a commit that referenced this pull request Jun 25, 2024
In order to enable the minimum viable GROMACS use case for the Whole
Graph Update feature, allow graphs to contain empty nodes and barrier
nodes during update.

See discussion thread
#13253 (comment) on
SYCL-Graph spec PR for publicizing the availability of the Whole Graph
Update feature.
@EwanC EwanC force-pushed the fabio/whole-graph_update branch from 0c42b9a to c4183c8 Compare July 3, 2024 12:35
Avoid mixing UB and exception conditions of topologically
identical. Only specify violating topologically identical
conditions as UB.
@EwanC EwanC force-pushed the fabio/whole-graph_update branch from c4183c8 to 5506590 Compare July 3, 2024 12:42
@EwanC
Copy link
Contributor

EwanC commented Jul 3, 2024

@intel/llvm-gatekeepers This is ready to merge, thanks

@martygrant
Copy link
Contributor

hey @EwanC there's still a pending review request for @AerialMantis. Do you want to wait for that or just get it merged?

@EwanC
Copy link
Contributor

EwanC commented Jul 3, 2024

hey @EwanC there's still a pending review request for @AerialMantis. Do you want to wait for that or just get it merged?

Gordon is not a required reviewer and this PR has been open for a long time for feedback, so I'd prefer to merge now. If there's any feedback after the fact we can open a new PR to address it.

@martygrant martygrant merged commit 4a02d92 into intel:sycl Jul 3, 2024
3 checks passed
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.

8 participants