[CommonIR] Add the TensorView dialect and tile.load/tile.store view access (#83) Introduce tv, a view-family dialect. It materializes structured GM views out of pointers and accesses tiles of those views as plain tensor SSA values, so the compute side stays in the tensor domain. It is independent of and parallel to CommonIR. Types and attributes: !tv.ptr GM pointer, replaces !tt.ptr as a func input !tv.tensor_view structured view, null encoding = base view #tv.partition_view tile + dim_map + padding_value #tv.strided_view adds inter-tile traversal strides #tv.gather_scatter_view tile + sparse_dim + padding_value
[CommonIR] Add the TensorView dialect and tile.load/tile.store view access (#83)
Introduce tv, a view-family dialect. It materializes structured GM views out of pointers and accesses tiles of those views as plain tensor SSA values, so the compute side stays in the tensor domain. It is independent of and parallel to CommonIR.
tv
tensor
Types and attributes: !tv.ptr GM pointer, replaces !tt.ptr as a func input !tv.tensor_view structured view, null encoding = base view #tv.partition_view tile + dim_map + padding_value #tv.strided_view adds inter-tile traversal strides #tv.gather_scatter_view tile + sparse_dim + padding_value
FlagTree IR is forked from microsoft/triton-shared, which is a Shared Middle-Layer for Triton Compilation. It is used for FlagTree.
Please refer to https://github.com/FlagTree/flagtree.
FLIR is licensed under the MIT license.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
FLIR
FlagTree IR is forked from microsoft/triton-shared, which is a Shared Middle-Layer for Triton Compilation. It is used for FlagTree.
Contributing
Please refer to https://github.com/FlagTree/flagtree.
License
FLIR is licensed under the MIT license.