• Lei Wang's avatar
    [Enhancement] Support region padding when convert buffer load to buffer region (#342) · 10804a0d
    Lei Wang authored
    * Enhance error checking in RegionOp and buffer_load_to_tile_region
    
    - Added detailed error messages to the index size check in `RegionOp` to aid debugging.
    - Implemented a check in `buffer_load_to_tile_region` to ensure the length of indices matches extents, with a fallback to expand extents if necessary. This improves robustness in handling buffer loads with mismatched dimensions.
    
    * lint fix
    10804a0d
op.cc 2.45 KB