vinx13 opened a new pull request, #14095:
URL: https://github.com/apache/tvm/pull/14095

   TransformLayout requires the index map to have inverse map that can be 
calculated by the analyzer in order to check whether padding is added.
   However, such check doesn't always work for all cases because of limitation 
of the affine analysis that can only handle a set of supported patterns. In 
some cases, even if the index map doesn't introduce padding, the schedule 
primitive throws `TransformationIntroducesPaddingError` because it fails to 
calculate the inverse index map.
   
   It is safe to allow buffer being padded without providing pad_value because 
the original loop extent is not changed and the padded region is not accessed. 
This PR changes the behavior of `TransformLayout` to allow non-inversible index 
map.
   
   cc @Lunderberg @Hzfengsy 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to