Skip to content

Support CPU-only, task-only subgraphs with compiled execution#417

Open
rohany wants to merge 13 commits intoStanfordLegion:mainfrom
rohany:cpu-task-only-subgraph
Open

Support CPU-only, task-only subgraphs with compiled execution#417
rohany wants to merge 13 commits intoStanfordLegion:mainfrom
rohany:cpu-task-only-subgraph

Conversation

@rohany
Copy link
Copy Markdown
Contributor

@rohany rohany commented Mar 26, 2026

This PR adds initial support for a limited case of compiled Realm subgraphs to have a solid base of adding more features. It currently supports:

  • Only CPUs
  • Only tasks launched on the current address space
  • Task's can't wait on events or spawn new tasks in subgraphs
  • No profiling support
  • No external pre/post conditions for subgraphs
  • No interpolations

All of these will get resolved in follow-up work, but this PR adds the initial layer that later pieces can be built on. I'm in the process of adding more tests and will continue to do so, but this is ready to start getting some looks. I did a bunch of simplification from the prototype implementation which shrunk a good amount of this code.

@apryakhin
Copy link
Copy Markdown
Contributor

@rohany I assume this needs to be reviewed?

@rohany
Copy link
Copy Markdown
Contributor Author

rohany commented Apr 6, 2026

yes!

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.

2 participants