-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat[next] high-level field storage API (#1319)
Introduce user API to allocate fields in `gt4py.next`. Summary of main changes: - Introduce FieldBuffer allocator protocols and implementations - Introduce the concept of Backend as ProgramExecutor & Allocator - Replace np_as_located_field with as_field - Make NdArrayField public - Fixes for _core.definitions typings - Fixes and extensions of eve.extended_typing - Refactor the handling of backends/program processors in the testing infrastructure with string enumerations representing the qualified name of the Python symbol, which can be loaded on demand - Rename some executor symbols and modules - Minor style changes to imports and imported symbols to follow coding guidelines. Open"To Do"s for future PRs: - Add support for `GTFieldInterface` protocol in cartesian and use it instead of `NextGTDimsInterface` protocol in next. - Add support for `aligned_index != None` in `FieldBufferAllocator` implementations - Add support for zero-copy construction of fields in `constructors.as_field()` --------- Co-authored-by: Enrique G. Paredes <[email protected]> Co-authored-by: Enrique Gonzalez Paredes <[email protected]> Co-authored-by: Rico Häuselmann <[email protected]> Co-authored-by: nfarabullini <[email protected]>
- Loading branch information
1 parent
4d8df69
commit 0df592d
Showing
66 changed files
with
2,277 additions
and
628 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.