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

[iree.build] Wire up out of process concurrency. #19291

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

stellaraccident
Copy link
Collaborator

  • Introduces an explicit thunk creation stage which gives a way to create a fully remotable object.
  • Reworks process concurrency to occupy a host thread in addition to a sub-process, which keeps the task concurrency accounting simple and makes errors propagate more easily.
  • Adds a test action for invoking a thunk out of process.
  • This is the boilerplate required while implementing a turbine AOT export action.

* Introduces an explicit thunk creation stage which gives a way to create a fully remotable object.
* Reworks process concurrency to occupy a host thread in addition to a sub-process, which keeps the task concurrency accounting simple and makes errors propagate more easily.
* Adds a test action for invoking a thunk out of process.
* This is the boilerplate required while implementing a turbine AOT export action.

Signed-off-by: Stella Laurenzo <stellaraccident@gmail.com>
@ScottTodd ScottTodd added the compiler/tools IREE's compiler tooling (iree-compile, iree-opt, etc) label Nov 25, 2024
@stellaraccident stellaraccident merged commit ef4ecf3 into main Nov 26, 2024
40 checks passed
@stellaraccident stellaraccident deleted the iree_build_concurrency branch November 26, 2024 00:37
Groverkss pushed a commit to Groverkss/iree that referenced this pull request Dec 1, 2024
* Introduces an explicit thunk creation stage which gives a way to
create a fully remotable object.
* Reworks process concurrency to occupy a host thread in addition to a
sub-process, which keeps the task concurrency accounting simple and
makes errors propagate more easily.
* Adds a test action for invoking a thunk out of process.
* This is the boilerplate required while implementing a turbine AOT
export action.

Signed-off-by: Stella Laurenzo <stellaraccident@gmail.com>
giacs-epic pushed a commit to giacs-epic/iree that referenced this pull request Dec 4, 2024
* Introduces an explicit thunk creation stage which gives a way to
create a fully remotable object.
* Reworks process concurrency to occupy a host thread in addition to a
sub-process, which keeps the task concurrency accounting simple and
makes errors propagate more easily.
* Adds a test action for invoking a thunk out of process.
* This is the boilerplate required while implementing a turbine AOT
export action.

Signed-off-by: Stella Laurenzo <stellaraccident@gmail.com>
Signed-off-by: Giacomo Serafini <179146510+giacs-epic@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/tools IREE's compiler tooling (iree-compile, iree-opt, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants