Matrix multiplication acceleration method for supporting variable blocks
A matrix multiplication and matrix technology, applied in the field of matrix multiplication acceleration that supports variable block, can solve the problems of no block optimization and the reduction of accelerator computing efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0048] Such as figure 1 As shown, the steps of this embodiment supporting variable block matrix multiplication acceleration method include:
[0049] 1) Input matrix A of M*N and matrix B of N*R required for matrix multiplication;
[0050] 2) Determine the sub-block size S according to the scale of matrix A and matrix B i , the matrix A is scaled as S i *N sub-blocks are divided into rows, and the matrix B is N*S in size i The sub-blocks are divided into blocks by columns, so that the matrix multiplication operation is equivalent to the multiplication operation of multiple sub-blocks;
[0051] 3) Generate a DMA descriptor for the data required for each sub-block multiplication operation, construct a DMA descriptor linked list for all sub-block multiplication operations and store them in the main memory;
[0052] 4) For each sub-block multiplication operation, read the data required for the sub-block multiplication operation from the DMA descriptor linked list of the main me...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com