• Lei Wang's avatar
    [Refactor] Enhance buffer store transformation in TIR pass (#851) · 094e2298
    Lei Wang authored
    - Updated the `AddWrapperForSingleBufStore` function to improve the handling of buffer stores by adding detailed checks for fragment buffer accesses and ensuring only index 0 is used.
    - Introduced new helper functions for collecting buffer accesses and indices, enhancing code readability and maintainability.
    - Refined the logic for determining tile operations and thread bindings to ensure accurate transformations without affecting existing parallel structures.
    094e2298
storage_rewrite.cc 72 KB