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

Software sweeps in the Platform #1092

Open
alecandido opened this issue Nov 2, 2024 · 0 comments
Open

Software sweeps in the Platform #1092

alecandido opened this issue Nov 2, 2024 · 0 comments
Labels
drivers execution Execution API (sequences, program, configs, ...)

Comments

@alecandido
Copy link
Member

It should be possible to implement software sweeps directly in the Platform, by exposing a Controller method to process the sweepers, and declare which ones will be taken into account.

The return value of the method could be one of the following two alternatives:

  1. int, corresponding to just a cut - sweepers more internal than the cut will be handled by the driver, the previous ones will remain Platform's responsibility
  2. list[int], essentially a map: for each (parallel) sweeper, it will return the execution order (such that Platform will also reshape the result), flagging those to be executed by the Platform with -1

The first option is the only one required if we want to strictly honor the order requested by the user (i.e. fail if not possible), the second one if we want to allow the driver to sort the sweepers (which actually I'd not recommend...).

It can be implemented in a backward compatible way in both cases, returning 0 or list(range(len(sweepers))) to signal that all the sweepers (and possibly sorting as well) will be handled by the driver.


I have been tempted to directly implement this in #1088, but I'm not sure how to handle sweepers when there is no single Controller (i.e. as described in #918). So, I postponed the problem.

@alecandido alecandido added drivers execution Execution API (sequences, program, configs, ...) labels Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drivers execution Execution API (sequences, program, configs, ...)
Projects
None yet
Development

No branches or pull requests

1 participant