You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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.
The text was updated successfully, but these errors were encountered:
It should be possible to implement software sweeps directly in the
Platform
, by exposing aController
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:
int
, corresponding to just a cut - sweepers more internal than the cut will be handled by the driver, the previous ones will remainPlatform
's responsibilitylist[int]
, essentially a map: for each (parallel) sweeper, it will return the execution order (such thatPlatform
will also reshape the result), flagging those to be executed by thePlatform
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
orlist(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.The text was updated successfully, but these errors were encountered: