---
# System prepended metadata

title: '[DaCe] Optimizing SWM (LapLap)'

---

# [DaCe] Optimizing SWM (LapLap)

> This project is similar to [[DaCe] Dataflow Inlining Transformation](https://hackmd.io/H2mXKtePQIaa35RHTylQ9w) but is more general.

- Shaped by: Philip
- Appetite (FTEs, weeks):
- Developers: <!-- Filled in at the betting table unless someone is specifically required here -->

## Problem

We have never seen it.


For testing purposes one can also use an implementation of the shallow water equation, that Hannes did.
It can be found in [PR#2506](https://github.com/GridTools/gt4py/pull/2506/changes), it can be run using `python -OO swm.py --backend gtfn_gpu --M 1024 --N 1024`.



## Appetite
<!-- Explain how much time we want to spend and how that constrains the solution -->

## Solution
<!-- The core elements we came up with, presented in a form that’s easy for people to immediately understand -->

## Rabbit holes
<!-- Details about the solution worth calling out to avoid problems -->

## No-gos
<!-- Anything specifically excluded from the concept: functionality or use cases we intentionally aren’t covering to fit the ## appetite or make the problem tractable -->

## Progress
<!-- Don't fill during shaping. This area is for collecting TODOs during building. As first task during building add a preliminary list of coarse-grained tasks for the project and refine them with finer-grained items when it makes sense as you work on them. -->

- [x] Task 1 ([PR#xxxx](https://github.com/GridTools/gt4py/pulls))
    - [x] Subtask A
    - [x] Subtask X
- [ ] Task 2
    - [x] Subtask H
    - [ ] Subtask J
- [ ] Discovered Task 3
    - [ ] Subtask L
    - [ ] Subtask S
- [ ] Task 4

