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
refactor[next]: Refactor workflow based executors and move the backend class. (#1470)
## Changed
- `OTFCompileExecutor` and `CachedOTFCompileExecutor` merged into
`ModularExecutor`
## Moved
- `OTFBackend` moved and renamed to `next.backend.Backend`
## Reasoning
The two `*CompileExecutor` classes were identical, except for type
hints. Since they are now almost exclusively used inside `OTFBackend`,
which does not retain typing information about which of them it
contains, this distinction is no longer helpful for static type
checking.
`OTFBackend` has always been more general than it's naming and location
suggested. It is the de-facto definition of a backend within
`gt4py.next`: a wrapper around an executor and an allocator. This change
makes the status quo visible.
0 commit comments