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][TIR][Analysis] Reduction block checking alloc_buffers #14589

Merged
merged 1 commit into from
Apr 11, 2023

Commits on Apr 11, 2023

  1. [Fix][TIR][Analysis] Reduction block checking alloc_buffers

    Previously the check of reduction block did not take the intermediate
    allocated buffers (that is, the buffers in `alloc_buffers` field of a
    block) into consideration, which will lead to exception thrown during
    scheduling in cases of nested block + cache read/write.
    
    This PR fixes this issue with one unit test for the DecomposeReduction
    primitive.
    
    Credit of the fix goes to Bohan.
    
    Co-authored-by: Bohan Hou <spectrometerh@gmail.com>
    MasterJH5574 and spectrometerHBH committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f6c89d1 View commit details
    Browse the repository at this point in the history