You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new absolute K indexation and write offset in K means we can go out of bounds without the system being able to warn about it since extent calculation won't be able to cover those access.
This was an iron rule for GT4Py that we now allow to be broken so we can match patterns seen regularly in physics.
To mitigate the issue, we should introduce on DEBUG a bound check, drop before every K offset write or absolute read call which should error out cleanly.
The new absolute K indexation and write offset in K means we can go out of bounds without the system being able to warn about it since extent calculation won't be able to cover those access.
Think about the degenerate case of
This was an iron rule for GT4Py that we now allow to be broken so we can match patterns seen regularly in physics.
To mitigate the issue, we should introduce on
DEBUG
a bound check, drop before every K offset write or absolute read call which should error out cleanly.Tracking in gt4py: GridTools/gt4py#1684
Parent: GEOS-ESM/SMT-Nebulae#36
DEBUG
generate a check for bounds before absolute indexationThe text was updated successfully, but these errors were encountered: