• Lei Wang's avatar
    [Refactor] Enhance CopyNode's IterVar Creation and Range Handling (#1346) · 17718bec
    Lei Wang authored
    * [Refactor] Enhance CopyNode's IterVar Creation and Range Handling
    
    This commit refines the `MakeIterVars` method in `CopyNode` to select base ranges based on memory scope levels, ensuring that the chosen ranges are not smaller than the original source ranges. Additionally, it updates the Python `copy` function to clarify range handling, including broadcasting logic and extent alignment. These changes improve the robustness and clarity of the copy operation's implementation.
    
    * test fix
    17718bec
customize.py 2.67 KB