Skip to content

Add some processor utilities #470

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

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Add some processor utilities #470

merged 1 commit into from
Feb 12, 2024

Conversation

jpsamaroo
Copy link
Member

This PR adds two useful helpers: add_processors() to return a Set of all processors available to the scheduler, and compatible_processors(scope::AbstractScope), which returns a Set of all processors that are permitted by scope (which can be constructed with Dagger.scope(...)).

@jpsamaroo jpsamaroo merged commit 50fd192 into master Feb 12, 2024
@jpsamaroo jpsamaroo deleted the jps/proc-utils branch February 12, 2024 22:44
Add all_processors helper for fetching all known processors
Add compatible_processors for fetching all processors matching a scope
Reorganize some processor, context, and task TLS files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant