Incorrect assertion for stride or pad greater than 1.
gilbertmike opened this issue · 1 comments
gilbertmike commented
The comment above the code explains it. TL;DR, the sum of the content access and the peer access of a tile can be less than partition size if the stride is greater than one.
timeloop/src/loop-analysis/tiling.cpp
Line 557 in f597708
angshuman-parashar commented
We have 3 options:
- Disable the assertion.
- Gate the assertion based on whether stride > 1.
- Come up with an alternative invariant that takes the stride (and dilation?) as a parameter.
Could you take a stab at option 3?