Research on Matrix Multiplication Optimization And Deployment Method for Heterogeneous Platforms
Artificial intelligence applications in the landing deployment, often encountered matrix multiplication and other operators in different computing platforms on the adaptation problem, need for different platforms hardware architecture and software stack for individual optimization, greatly increasing the design cost, for this reason, this paper proposes a cross-platform matrix multiplication rapid deployment method, based on the TVM framework in the CPU, GPU, NPU heterogeneous computing platforms intern take the rapid deployment, and Matrix multiplication optimization method through matrix chunking, data rearrangement and vectorization, the optimization of the deployment process does not need to pay attention to the back-end hardware information, which greatly improves the efficiency. Test results show that the maximum acceleration ratio on the CPU platform can reach 45.43 times, the maximum acceleration ratio on the GPU platform is 17.44 times, and the maximum acceleration ratio on the NPU platform is 9.58 times.
Authors
- Chunchun Wu
- Jiatong Li
- X. Chen
- Shicheng Wang (ORCID: https://orcid.org/0000-0001-8380-9136)
- Jiaxing Liu (ORCID: https://orcid.org/0000-0001-9691-8470)
Institutions
- China Electronics Technology Group Corporation (CN)
Publication Details
- Published
- 2024-11-01
- DOI
- https://doi.org/10.1109/iccbd-ai65562.2024.00051
- Primary Topic
- Satellite Communication Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00