Magnifier: A Chiplet Feature-Aware Test Case Generation Method for Deep Learning Accelerators
The development of deep learning has led to increasing demands for computation and memory, making multi-chiplet accelerators a powerful solution. Multi-chiplet accelerators require more precise consideration of hardware configurations and mapping schemes in terms of computation, memory, and communication patterns compared to monolithic designs, in order to avoid underutilization of performance. However, there is currently a lack of performance testing methods specifically tailored for multi-chiplet accelerators. Existing testing methods primarily focus on correctness testing and do not address potential performance issues from a hardware perspective. To address these issues, this paper proposes Magnifier: a test case generation method for performance testing of multi-chiplet accelerators. Firstly, we analyze typical multi-chiplet accelerator prototype from the perspectives of computation, memory, and communication patterns, and summarize a chiplet feature-aware operator task set. Next, we define the test evaluation metric IPPstd and use a candidate operator set to construct a sampling space for model-level test cases. Finally, we build a GAN to learn the distribution of high-diversity test cases, enabling the rapid generation of high-quality test cases. We validate the proposed method on both simulated and real multi-chiplet accelerators. Experiments show that Magnifier can improve the metric of test cases by up to 3.42 times and significantly reduce generation time, providing valuable insights for optimizing the hardware and software of multi-chiplet accelerators.
Authors
- Zongwei Zhu (ORCID: https://orcid.org/0000-0003-3607-2631)
- Cheng Ji (ORCID: https://orcid.org/0000-0002-2525-8070)
- Xuehai Zhou (ORCID: https://orcid.org/0000-0002-8360-3143)
- Xi Li (ORCID: https://orcid.org/0009-0008-7007-1994)
- Changlong Li (ORCID: https://orcid.org/0000-0002-4042-6538)
- Qianyue Cao
- Weihong Liu (ORCID: https://orcid.org/0000-0002-0308-0259)
- Boyu Li (ORCID: https://orcid.org/0009-0001-2796-2686)
Institutions
- University of Science and Technology of China (CN)
- Suzhou University of Science and Technology (CN)
- Nanjing University of Science and Technology (CN)
- East China Normal University (CN)
Publication Details
- Journal
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2025-01-10
- DOI
- https://doi.org/10.1109/tcad.2025.3528358
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- National Key Research and Development Program of China