CNN-oriented batch matrix multiplication parallel optimization method and system on SW architecture
By converting the input feature map and convolution kernel of the CNN convolutional layer into a matrix on the Shenwei architecture, combining DMA transmission and dynamic row block division algorithms, the batch matrix multiplication task is optimized, which solves the communication bottleneck and load imbalance problems of the Shenwei platform and improves the computing performance.
Patent Information
- Application Number
- CN202511020934.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-24
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2045-07-24
AI Technical Summary
The existing technology lacks adaptive batch matrix optimization solutions on domestic Shenwei supercomputer platforms, and there are problems of communication bottlenecks and load imbalance, resulting in limited computing performance, especially in high concurrency and fine-grained computing scenarios.
The main and slave cores are designed in a collaborative manner, and the input feature map and convolution kernel of the CNN convolution layer are converted into input matrix and weight matrix. The parameter structure array is transmitted through a single DMA, combined with dynamic row block division algorithm and double-buffered DMA asynchronous prefetching, and parallel processing of matrix multiplication tasks is optimized.
It improves the parallel processing efficiency between the master and slave cores of Shenwei processors, significantly improves computing performance, especially in high concurrency and fine-grained computing, and reduces communication latency and data access latency.