forked from NOAA-GFDL/NDSL
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
The current numpy backend as limitations:
- some operations of indexation cannot be conducted because they break broadcast rule
- readability is not great around
maskand slicing boudaries - the slicing, though faster, leads to a more complex NPIR and codegen
- debug-ability, on top of the issue of generated code, is not great
In order to create an area where quick iterative development of features can happen and start looking at debug tooling when writing model (which part of the tooling will need to address the nitty-gritty of the numerics) we propose to write a plain python "debug" backend.
This backend first and foremost shall be simplicity and closeness to C/Fortran looking code
Parent: GEOS-ESM/SMT-Nebulae#36
- Write code-generation of a
gt:debugbackend straight from OIR or NPIR - Document guiding principles, design decision and ideas/todos
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels