"git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "5a5ca8e7ff042842013cf7ad1462a5d6c705d39b"
[Bugfix] Fix copy region automation for dynamic extent (#465)
* [Refactor] Enhance TMA barrier validation and support for additional architectures (#463) * Updated the TMA barrier validation in `inject_tma_barrier.cc` to check for non-empty `barrier_id_to_range_` before raising an error for missing `create_list_of_mbarrier`. * Refactored architecture checks in `phase.py` to utilize a new constant `SUPPORTED_TMA_ARCHS`, allowing for easier updates and improved readability in the target architecture validation logic. * [Refactor] Improve buffer region validation in copy.py * Added handling for variable extents in buffer_region_to_tile_region function to enhance type checking and error handling. * Introduced debug print statements to trace values of region extents and temporary extents during validation. * Updated logic to account for variable extent counts when determining alignment of extents. * [Refactor] Remove debug print statements in buffer_region_to_tile_region function * Eliminated unnecessary print statements that were used for debugging temporary extents and region extents. * Streamlined the code for better readability while maintaining the existing functionality of buffer region validation. * [Refactor] Clean up whitespace in buffer_region_to_tile_region function * Removed an unnecessary blank line in the buffer_region_to_tile_region function to improve code readability and maintain consistency in formatting.
Showing
Please register or sign in to comment