Pan, Pingping and Wu, Jun and Zhao, Songyuan and Ren, Haoqi and Zhang, Zhifeng (2021) A Deep Learning Compiler for Vector Processor. In: Communications and Networking. 15th EAI International Conference, ChinaCom 2020, Shanghai, China, November 20-21, 2020, Proceedings.
77457.pdf
Download (1MB)
Abstract
The technical route of machine learning compiler generally refers to the application of automatic or semi-automatic code generation in the optimization process instead of hand-optimization. This paper presents a deep learning compiler (DLCS) for target vector processor based on LLVM framework, which lowers deep learning (DL) models to an intermediate representation (IR) of two levels. The high-level IR realizes target-independent optimizations including kernel fusion, data replacement and data simplification, while the low-level IR allows the compiler to perform target-dependent optimizations, such as Eight-Slots VLIW and special intrinsic function. The proposed compiler customizes the architecture description of target vector processor to achieve a high-quality automatic code generation. We evaluate the performance comparison between DLCS and hand-optimization when deploying ResNet-18 model and MobileNet model to the target vector processor. Experimental results show that DLCS offers Multi-slot parallel performance for target vector processor and achieves speedups ranging from 1.5× to 3.0× over existing frameworks backed by hand-optimized libraries.
| Item Type: | Conference or Workshop Item (UNSPECIFIED) |
|---|---|
| Uncontrolled Keywords: | Deep learning compiler, Target optimization, Code generation, Vector processor |
| Date Deposited: | 04 Mar 2026 19:49 |
| Last Modified: | 20 Nov 2026 13:02 |
| URI: | https://eprints.eai.eu/id/eprint/58113 |
