TensorLib: A Spatial Accelerator Generation Framework for Tensor Algebra
Not on the map. Why?
Abstract (arXiv)
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 trade-offs 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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Apr 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 1; 2024: 2; 2025: 1.
5 papers.
- 2023GPT4AIGChip: Towards Next-Generation AI Accelerator Design Automation via Large Language Modelscited by 59
- 2024OriGen:Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflectioncited by 56
- 2021HASCO: Towards Agile HArdware and Software CO-design for Tensor Computationcited by 10
- 2025LEGO: Spatial Accelerator Generation and Optimization for Tensor Applicationscited by 1
- 2024Compressing Structured Tensor Algebracited by 0
- 2025LEGO: Spatial Accelerator Generation and Optimization for Tensor Applications15 Sep 2025
- 2024OriGen:Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflection23 Jul 2024
- 2024Compressing Structured Tensor Algebra18 Jul 2024
- 2023GPT4AIGChip: Towards Next-Generation AI Accelerator Design Automation via Large Language Models19 Sep 2023
- 2021HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation4 May 2021