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

[python] Fix immediate mode scheduling of BuildActions in iree.build #20142

Merged

Conversation

sogartar
Copy link
Contributor

@sogartar sogartar commented Mar 3, 2025

When running the build action in the same thread we must still do a start-finish to get an initialized completed future.

@sogartar sogartar requested a review from stellaraccident March 3, 2025 15:14
@sogartar sogartar force-pushed the fix-iree-build-action-immediate-mode branch from 33c07bb to 6f11b62 Compare March 3, 2025 15:15
When running the build action in the same thread we must still do a
start finish to get an initialized completed future.

Signed-off-by: Boian Petkantchin <boian.petkantchin@amd.com>
@sogartar sogartar force-pushed the fix-iree-build-action-immediate-mode branch from 6f11b62 to 26bfb49 Compare March 3, 2025 15:20
Copy link
Collaborator

@stellaraccident stellaraccident left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sogartar sogartar merged commit d56f269 into iree-org:main Mar 3, 2025
43 checks passed
geomin12 pushed a commit to geomin12/iree that referenced this pull request Mar 5, 2025
…ree-org#20142)

When running the build action in the same thread we must still do a
start-finish to get an initialized completed future.

Signed-off-by: Boian Petkantchin <boian.petkantchin@amd.com>
Signed-off-by: geomin12 <geomin12@amd.com>
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