spcl / spcl/dace

[f2dace / LiftStructViews] Partial View Towers

Open
#2,004 0 comments 0 reactions 0 assignees View on GitHub
fortran
Dominant language
Python
Stars
593
Forks
163
Avg merge
2d 23h
Merged PRs (30d)
60

Description

After view towers where the final view access node refers to a struct and not a native C type, this SDFG is what we get from the f2dace frontend. It involves a partial view tower ending at a struct. DaCe can't access a struct and this is either the frontend or the simplify not working. Example how it looks:

![Image](https://github.com/user-attachments/assets/3d9d3e3d-194d-4030-a9a3-1256f45aacb7)

It was taken from this SDFG:

[velocity_if_prop_lvn_only_0_istep_1 .sdfgz.txt](https://github.com/user-attachments/files/20119317/velocity_if_prop_lvn_only_0_istep_1.sdfgz.txt)

For now we are solving the issue by having a patch that fixes this case (=name matching, and also the main reason why we have name matching fixes in velocity tendencies).

The view node of `verts` to the right should not exist.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.