Lune

DAC2021顶会

TensorLib: A Spatial Accelerator Generation Framework for Tensor Algebra

Liancheng Jia, Zizhang Luo, Liqiang Lu, Yun Liang

摘要

Tensor algebra finds applications in various domains, and these applications, especially when accelerated on spatial hardware accelerators, can deliver high performance and low power. Spatial hardware accelerator exhibits complex design space. Prior approaches based on manual implementation lead to low programming productivity, rendering thorough design space exploration impossible. In this paper, we propose TensorLib, a framework for generating spatial hardware accelerator for tensor algebra applications. TensorLib is motivated by the observation that, different dataflows share common hardware modules, which can be reused across different designs. To build such a framework, TensorLib first uses Space-Time Transformation to explore different dataflows, which can compactly represent the hardware dataflow using a simple transformation matrix. Next, we identify the common structures of different dataflows and build parameterized hardware module templates with Chisel. Our generation framework can select the needed hardware modules for each dataflow, connect the modules using a specified interconnection pattern, and automatically generate the complete hardware accelerator design. TensorLib remarkably improves the productivity for the development and optimization of spatial hardware architecture, providing a rich design space with tradeoffs in performance, area, and power. Experiments show that TensorLib can automatically generate hardware designs with different dataflows and achieve 21% performance improvement on FPGA compared to the state-of-the-arts.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation 引用了 TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation
  • TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation 引用了 HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation
  • UNICO: Unified Hardware Software Co-Optimization for Robust Neural Network Acceleration 引用了 HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation
  • Rubick: A Synthesis Framework for Spatial Architectures via Dataflow Decomposition 引用了 TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric NotationLiqiang Lu, Naiqing Guan, Yuyue Wang, Liancheng Jia 等ISCA 2021 · 82 次引用
  2. HASCO: Towards Agile HArdware and Software CO-design for Tensor ComputationQingcheng Xiao, Size Zheng, Bingzhe Wu, Pengcheng Xu 等ISCA 2021 · 73 次引用
  3. Rubick: A Synthesis Framework for Spatial Architectures via Dataflow DecompositionZizhang Luo, Liqiang Lu, Size Zheng, Jieming Yin 等DAC 2023 · 7 次引用
  4. UNICO: Unified Hardware Software Co-Optimization for Robust Neural Network AccelerationBahador Rashidi, Chao Gao, Shan Lu, Zhisheng Wang 等MICRO 2023 · 6 次引用
  5. TileLoom: Automatic Dataflow Planning for Tile-Based Languages on Spatial Dataflow AcceleratorsWei Li, Zhenyu Bai, Heru Wang, Pranav Dangi 等OSDI 2026 · 2 次引用

它引用的 Paper2

  1. TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric NotationLiqiang Lu, Naiqing Guan, Yuyue Wang, Liancheng Jia 等ISCA 2021 · 82 次引用
  2. FCNNLib: An Efficient and Flexible Convolution Algorithm Library on FPGAsQingcheng Xiao, Liqiang Lu, Jiaming Xie, Yun LiangDAC 2020 · 12 次引用

相关 Paper

  1. LEGO: Spatial Accelerator Generation and Optimization for Tensor ApplicationsYujun Lin, Zhekai Zhang, Song HanHPCA 2025
  2. Tensaurus: A Versatile Accelerator for Mixed Sparse-Dense Tensor ComputationsNitish Kumar Srivastava, Hanchen Jin, Shaden Smith, Hongbo Rong 等HPCA 2020 · 121 次引用
  3. The Sparse Abstract MachineOlivia Hsu, Maxwell Strange, Ritvik Sharma, Jaeyeon Won 等ASPLOS 2023 · 37 次引用
  4. DSAGEN: Synthesizing Programmable Spatial AcceleratorsJian Weng, Sihao Liu, Vidushi Dadu, Zhengrong Wang 等ISCA 2020 · 140 次引用
  5. Soter: Analytical Tensor-Architecture Modeling and Automatic Tensor Program Tuning for Spatial AcceleratorsFuyu Wang, Minghua Shen, Yufei Ding, Nong XiaoISCA 2024 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖