LoopToMap Parallelizing Loops That Should Not Become Maps
Open
- Dominant language
- Python
- Stars
- 593
- Forks
- 163
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 60
Description
LoopToMap parallelizes this loop taken from the tsvc 2 benchmark:
```
@dace.program
def dace_s2244(a: dace.float64[LEN_1D],
b: dace.float64[LEN_1D],
c: dace.float64[LEN_1D],
e: dace.float64[LEN_1D]):
for nl in range(ITERATIONS):
for i in range(LEN_1D - 1):
a[i + 1] = b[i] + e[i]
a[i] = b[i] + c[i]
```
I have attached the SDFG as a JSON.
[dace_s2244_ltm.sdfg.json](https://github.com/user-attachments/files/24037853/dace_s2244_ltm.sdfg.json)
Contributor guide
Assessment
This issue has not been assessed yet.