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

rocr: Add WaitMultiple to core Signal #250

Open
wants to merge 1 commit into
base: amd-staging
Choose a base branch
from

Conversation

atgutier
Copy link
Contributor

@atgutier atgutier commented Oct 17, 2024

Replaces WaitAny with WaitMultiple to more closely align with the underlying driver API for waiting on multiple events.

WaitMultiple adds a single parameter, wait_on_all, to the WaitAny interface providing a single function for waiting on multiple events when we only need AND and OR semantics for the signal checking logic.

@atgutier
Copy link
Contributor Author

Any comments on this, @dayatsin-amd?

@dayatsin-amd
Copy link
Collaborator

Any comments on this, @dayatsin-amd?

Looks good. Sorry for late response. Thank you for patch!

Replaces WaitAny with WaitMultiple to more closely align with the
underlying driver API for waiting on multiple events.

WaitMultiple adds a single parameter, wait_on_all, to the WaitAny
interface providing a single function for waiting on multiple
events when we only need AND and OR semantics for the signal
checking logic.
@atgutier atgutier force-pushed the atgutier/signal-wait-multiple branch from 3fe9f13 to 39f4337 Compare January 9, 2025 23:47
@atgutier atgutier requested a review from dayatsin-amd January 9, 2025 23:47
@atgutier
Copy link
Contributor Author

atgutier commented Jan 9, 2025

Can you re-review @dayatsin-amd when you get a chance? Some of the Async signal logic changed which requires additional changes to this PR that I'd like you to look at.

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.

[Feature]: add a hsa_amd_signal_wait_all API.
3 participants