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 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.
The `interval` analysis in the unit test
`test_K_offset_write_conditional` fails to catch a mistake in the code
that leads to a race condition.
Work:
- Fix the bad interval
- Remove not needed restriction on CUDA version
Further work to fix the underlying problem and the larger issue of bound
check on variable indexing is covered
[here](#1684) and
[there](#1754)
The new 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 which should error out cleanly.DEBUG
generate a check for bounds before K offset writeThe text was updated successfully, but these errors were encountered: