mirror of
https://github.com/tile-ai/tilelang.git
synced 2026-10-20 06:30:07 +08:00
* [CUDA] Unify TMA copy lowering on CuTe algebra and support general swizzled layouts Every descriptor-based TMA path (bulk copy, atomic add, gather4/scatter4, im2col) now shares one CuTe-algebra box decomposition. Boxes follow the driver contract (inner box bytes at most the swizzle span, per-dim caps), and the recovered swizzle is widened on demand under an equivalence proof, so general annotated layouts -- including phase-shifted swizzles -- lower correctly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Address review concerns --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>