[Bugfix] Expose alloc_reducer definition to the python side (#802)
- Introduced a new function `alloc_reducer` to allocate a reducer buffer with specified shape, data type, and reduction operation (sum, max, min). - Added detailed documentation for the function, including usage instructions and parameter descriptions. - Ensured that the function supports replication strategies and includes assertions for valid operation types and replication options. This enhancement improves the functionality of buffer management in TileLang, facilitating efficient reduction operations in parallel loops.
Showing
Please register or sign in to comment