EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC-ND 4.0

Automatic Generation of Spatial Accelerator for Tensor Algebra

Liancheng Jia, Zizhang Luo, Liqiang Lu, Yun Liang

IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · 2023-06 · 42 (6) · 1898-1911

DOI: 10.1109/tcad.2022.3209949 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2023-06. Verfasst von Liancheng Jia und 3 weiteren Autor:innen. Die Arbeit wurde bisher 5-mal zitiert (Crossref) und nennt 58 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-ND 4.0). Gefördert von: National Natural Science Foundation of China.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Tensor algebra finds applications in various domains, including machine learning applications, data analytics, and others. Spatial hardware accelerators are widely used to boost the performance of tensor algebra applications. It has a complex hardware architecture and rich design space. Prior approaches based on manual implementation lead to low programming productivity, making it hard to explore the large design space. In this article, we propose Tensorlib, a framework for generating spatial hardware accelerators for tensor algebra applications. Tensorlib is motivated by the observation that, tensor dataflows can be expressed with linear transformations, and they share common hardware modules which can be reused across different designs. Tensorlib first uses space-time transformation to explore different dataflows, which can compactly represent the hardware dataflow using a transformation matrix. Next, we identify the common structures of different dataflows and build parameterized hardware module templates. 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 for a variety of tensor algebra programs. Tensorlib can achieve 318-MHz frequency and 786-GFLOP/s throughput for matrix multiplication kernel on Xilinx VU9P FPGA, which outperforms the state-of-the-art generators.

Förderung

  • National Natural Science Foundation of China

Zitieren

APA

Jia, L., Luo, Z., Lu, L., & Liang, Y. (2023). Automatic Generation of Spatial Accelerator for Tensor Algebra. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 42(6), 1898-1911. https://doi.org/10.1109/tcad.2022.3209949

Vancouver

Jia L, Luo Z, Lu L, Liang Y. Automatic Generation of Spatial Accelerator for Tensor Algebra. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2023;42(6):1898-1911. doi:10.1109/tcad.2022.3209949

BibTeX
@article{Jia2023,
  author = {Jia, Liancheng and Luo, Zizhang and Lu, Liqiang and Liang, Yun},
  title = {Automatic Generation of Spatial Accelerator for Tensor Algebra},
  journal = {IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems},
  year = {2023},
  volume = {42},
  number = {6},
  pages = {1898--1911},
  doi = {10.1109/tcad.2022.3209949}
}
Kostenlos starten →