Neural network heterogeneous many-core multi-level resource mapping method based on compilation
A neural network and resource mapping technology, which is applied in neural learning methods, biological neural network models, neural architectures, etc., can solve problems such as the inability to perform effective resource mapping and the inability of deep learning loads to fully utilize the performance of heterogeneous many-core platforms. To achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0023] Embodiment: The present invention provides a method for mapping heterogeneous many-core multi-level resources based on neural network compilation, which specifically includes the following steps:
[0024] S1. Perform many-core core group resource mapping, as follows:
[0025] S11. Perform loop splitting on the outermost loop x of the neural network operator to obtain the outer loop xo and the inner loop xi, and set the number of cycles of the split outer loop xo to be equal to the number N of many-core core groups;
[0026] S12. For the outer loop xo obtained in S11, bind its calculation process to many-core core group resources;
[0027] S2. Perform slave core thread resource mapping, specifically as follows:
[0028] S21. If the number of cyclic layers of the neural network operator before splitting in step S11 is greater than or equal to 2, execute S23; otherwise, execute S22;
[0029] S22. Perform cyclic splitting on the inner loop xi obtained in step S11 to obtai...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
