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
We generate incorrect results if the size of the pipeline is greater than the size of the circular buffering for-loop.
For example, say that the pipeline size is 4 and circular buffering loop size is 2.
prologue loop is (0, S-1) => (0, 3)
main loop is (0, N-(S-1)) => (0, -1)
epilogue loop is (N-(S-1), N) => (-1, 2)
The proposed fix is to have a runtime check to determine that the entire pipeline is filled at least once.
The text was updated successfully, but these errors were encountered:
This PR adds a parameterized test suite for circular buffering. It is
used to test a range of buffers from 2 to 4.
TODO: Add a runtime check to ensure that entire pipeline is filled by
given inputs. See #2699.
We generate incorrect results if the size of the pipeline is greater than the size of the circular buffering for-loop.
For example, say that the pipeline size is 4 and circular buffering loop size is 2.
prologue loop is (0, S-1) => (0, 3)
main loop is (0, N-(S-1)) => (0, -1)
epilogue loop is (N-(S-1), N) => (-1, 2)
The proposed fix is to have a runtime check to determine that the entire pipeline is filled at least once.
The text was updated successfully, but these errors were encountered: