Skip to content

Conversation

vossmjp
Copy link
Contributor

@vossmjp vossmjp commented May 1, 2025

A very rough draft for custom backends for dynamic selection.

@vossmjp vossmjp requested review from danhoeflinger and egfefey May 1, 2025 21:16
The `get_submission_group` is not easily implemented in a meaningful way. It must return a type that
defines a member function `wait`. But since there is no way to know how to wait on all previous submissions
for an arbitrary backend resource, this function will likely need to return a dummy type or
`get_submission_group` be undefined for the default backend.
Copy link
Contributor

Choose a reason for hiding this comment

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

If we could provide a way to have the user give us the wait type, do we have a shot? Or maybe it's better to leave this out to make the default case simple.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Lets consider if there's a meaningful default or not. I'm not sure that there is.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think a meaningful default is to call wait on all resources, if they have a wait function.

@akukanov akukanov added the RFC label May 6, 2025
Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

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

I think this looks pretty good. Mostly just quite minor changes for now.

vossmjp and others added 6 commits May 6, 2025 21:34
Co-authored-by: Dan Hoeflinger <[email protected]>
Co-authored-by: Dan Hoeflinger <[email protected]>
Co-authored-by: Dan Hoeflinger <[email protected]>
Co-authored-by: Dan Hoeflinger <[email protected]>
Co-authored-by: Dan Hoeflinger <[email protected]>
Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

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

first pass at feedback

@vossmjp vossmjp changed the title WIP: Custom backends for Dynamic Selection Custom backends and policies for Dynamic Selection Aug 18, 2025
@vossmjp vossmjp changed the title Custom backends and policies for Dynamic Selection RFC: Custom backends and policies for Dynamic Selection Aug 18, 2025
@vossmjp vossmjp marked this pull request as ready for review August 18, 2025 21:37
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants