TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation

被引:42
作者
Lu, Liqiang [1 ]
Guan, Naiqing [1 ,2 ]
Wang, Yuyue [1 ]
Jia, Liancheng [1 ]
Luo, Zizhang [1 ]
Yin, Jieming [3 ]
Cong, Jason [4 ]
Liang, Yun [1 ]
机构
[1] Peking Univ, Beijing, Peoples R China
[2] Univ Toronto, Toronto, ON, Canada
[3] Lehigh Univ, Bethlehem, PA 18015 USA
[4] Univ Calif Los Angeles, Los Angeles, CA 90024 USA
来源
2021 ACM/IEEE 48TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA 2021) | 2021年
基金
北京市自然科学基金;
关键词
DECOMPOSITIONS; ACCELERATOR;
D O I
10.1109/ISCA52012.2021.00062
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Accelerating tensor applications on spatial architectures provides high performance and energy-efficiency, but requires accurate performance models for evaluating various dataflow alternatives. Such modeling relies on the notation of tensor dataflow and the formulation of performance metrics. Recent proposed compute-centric and data-centric notations describe the dataflow using imperative directives. However, these two notations are less expressive and thus lead to limited optimization opportunities and inaccurate performance models. In this paper, we propose a framework TENET that models hardware dataflow of tensor applications. We start by introducing a relation-centric notation, which formally describes the hardware dataflow for tensor computation. The relation-centric notation specifies the hardware dataflow, PE interconnection, and data assignment in a uniform manner using relations. The relation-centric notation is more expressive than the compute-centric and data-centric notations by using more sophisticated affine transformations. Another advantage of relation-centric notation is that it inherently supports accurate metrics estimation, including data reuse, bandwidth, latency, and energy. TENET computes each performance metric by counting the relations using integer set structures and operators. Overall, TENET achieves 37.4% and 51.4% latency reduction for CONY and GEMM kernels compared with the state-of-the-art data-centric notation by identifying more sophisticated hardware dataflows.
引用
收藏
页码:720 / 733
页数:14
相关论文
共 55 条
  • [51] Viswanath B, 2009, 2ND ACM SIGCOMM WORKSHOP ON ONLINE SOCIAL NETWORKS (WOSN 09), P37
  • [52] Wang Jie, 2021, P 2021 ACM SIGDA INT
  • [53] WOLF ME, 1991, SIGPLAN NOTICES, V26, P30
  • [54] Yang X., 2020, P 25 INT C ARCH SUPP
  • [55] FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous System
    Zheng, Size
    Liang, Yun
    Wang, Shuo
    Chen, Renze
    Sheng, Kaiwen
    [J]. TWENTY-FIFTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS (ASPLOS XXV), 2020, : 859 - 873