Commit 41820b0
refactor[cartesian]:
## Description
This PR brings another two cleanup commits:
1. `gtir` doesn't need to be passed around when calling `BackendCodegen`
classes. That info can be derived from the backend (class), which is a
member of `BackendCodegen`.
2. Use type hints in `dace_backend` (only for the functions that we
aren't about to torch anyway with PR GridTools#2067)
## Requirements
- [ ] All fixes and/or new features come with corresponding tests.
Covered by existing tests.
- [ ] Important design decisions have been documented in the appropriate
ADR inside the [docs/development/ADRs/](docs/development/ADRs/README.md)
folder.
N/Agtir from backend and type hints for dace backend (GridTools#2103)1 parent daeda79 commit 41820b0
File tree
5 files changed
+109
-112
lines changed- src/gt4py/cartesian/backend
5 files changed
+109
-112
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 43 | + | |
| 44 | + | |
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
| |||
0 commit comments