Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Incorrect Out-of-Bounds for Padding Values #171

Merged

Conversation

DavePearce
Copy link
Collaborator

Fixes an outstanding issue with the handling of out-of-bounds values, allowing for the correct calculation of spillage.

This puts in place a proper notion of a bounded computation, which
replaces the previously awkward notion of `MaxShift`.

This also requires that every column in a trace is given a
`padding` value which is used when padding that column.  The value for
input columns is always `0` otherwise it is computed during trace
expansion.  Out-of-bounds accesses on trace columns then return the
padding value.
This fixes the outstanding spillage tests which were written, but not
actually being used.
@DavePearce DavePearce linked an issue Jun 17, 2024 that may be closed by this pull request
@DavePearce DavePearce merged commit 407b8c5 into main Jun 17, 2024
2 checks passed
@DavePearce DavePearce deleted the 169-incorrect-out-of-bounds-calculation-for-padding-values branch June 17, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Out-Of-Bounds Calculation for Padding Values
1 participant