Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Scheduling Method for Reconfigurable Computing Structure Based on Arbitrary Dimension Matrix Multiplication

A technology of matrix multiplication and calculation structure, applied in the field of matrix calculation, can solve problems such as difficulty in calculation efficiency, restriction of calculation speed, increase in calculation amount, etc., and achieve the effects of improving calculation efficiency, good scalability, and less resources

Active Publication Date: 2021-01-22
THE PLA INFORMATION ENG UNIV +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the early matrix multiplication was mostly realized by serial calculation of the processor. With the increase of the matrix dimension, the calculation amount increased sharply, which seriously restricted the calculation speed.
The large-dimensional matrix multiplication based on hardware can give full play to the speed of the hardware, but the large-dimensional matrix multiplication requires high computing resources and storage space. The existing parallel structure design of high-performance matrix multiplication requires the construction of complex parallel models, and The implementation of the corresponding proprietary parallel structure consumes more resources, but the reusability and scalability are not ideal, and it is difficult to realize the multiplication calculation of variable-dimensional matrix; and the more general linear array is used to realize the design and execution of multiplication The time complexity is high, and the data parallelism in the multiplication calculation cannot be fully exploited; the multiplication method based on the block matrix calculation can realize the multiplication calculation of matrices of any dimension, but the current implementation method does not understand the inherent line and streamlining of the multiplication calculation. Insufficient utilization of features makes it difficult to improve computational efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Scheduling Method for Reconfigurable Computing Structure Based on Arbitrary Dimension Matrix Multiplication
  • Scheduling Method for Reconfigurable Computing Structure Based on Arbitrary Dimension Matrix Multiplication
  • Scheduling Method for Reconfigurable Computing Structure Based on Arbitrary Dimension Matrix Multiplication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] like figure 1 , 2 As shown in the present invention, a scheduling method for a reconfigurable computing structure based on matrix multiplication of any dimension of the present invention, the reconfigurable computing structure of matrix multiplication of any dimension adopted is composed of a processing unit, a scheduling module, an interface controller and a storage device. module composition;

[0043] The processing unit multiplies the input matrix of any dimension, the processing unit is a multiply-accumulator and an adder, and the multiply-accumulator and the adder are referred to as PE for short. 1 and PE 2 , 1 PE 1 or PE 2 The time to complete 1 calculation is defined as 1 PE 1 or PE 2 calculation cycle;

[0044] The scheduling module designs the scheduling mechanism according to the currently available number of processing units, the performance requirements of matrix multiplication and the dimension of the matrix to be multiplied, generates configuration in...

Embodiment 2

[0054] like Figure 2-5 As shown, another scheduling method of the present invention based on the reconfigurable computing structure of the matrix multiplication of any dimension, the reconfigurable computing structure of the matrix multiplication of any dimension adopted is composed of the processing unit, the scheduling module, the interface controller and the The composition of the storage module;

[0055] The processing unit multiplies the input matrix of any dimension, the processing unit is a multiply-accumulator and an adder, and the multiply-accumulator and the adder are referred to as PE for short. 1 and PE 2 , 1 PE 1 or PE 2 The time to complete 1 calculation is defined as 1 PE 1 or PE 2 calculation cycle;

[0056] The scheduling module designs the scheduling mechanism according to the currently available number of processing units, the performance requirements of matrix multiplication and the dimension of the matrix to be multiplied, generates configuration in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the technical field of matrix calculation, and particularly relates to a scheduling method for a reconfigurable calculation structure on the basis of arbitrary-dimension matrix multiplication. The adopted reconfigurable calculation structure of the arbitrary-dimension matrix multiplication consists of processing units, an interface controller, a scheduling module and a storage module. The method comprises the following steps that: carrying out interconnection on the processing units, and forming a reconfigurable processing array with the interface controller; designing a scheduling mechanism by the scheduling module, generating configuration information, and issuing to the reconfigurable processing array; constructing a calculation structure which meets current-dimension matrix multiplication; on the basis of the constructed calculation structure, according to the scheduling mechanism, distributing calculation data to the processing units to carry out matrix multiplication calculation; and returning a matrix multiplication calculation result to the storage module through the interface controller. By use of the method, through a way of a configurable fixed processing method, arbitrary-dimension matrix multiplication calculation is realized, and matrix multiplication calculation flexibility is improved.

Description

technical field [0001] The invention belongs to the technical field of matrix computing, and in particular relates to a scheduling method of a reconfigurable computing structure based on matrix multiplication of arbitrary dimensions. Background technique [0002] Matrix multiplication is the most basic operation in scientific computing, and is widely used in various circuit calculations, such as DCM transformation in the field of digital communication, matrix inversion, and 3D transformation in image processing. Given a matrix multiplication C=AB, where C={c ij} is an M×N-dimensional matrix, A={a ij} is an M×K-dimensional matrix, B={b ij} is a K×N-dimensional matrix, then c ij It can be expressed as: [0003] [0004] Due to the high computational complexity of matrix multiplication (usually O(n 3 )), its computing performance often directly affects the overall performance of the system. However, the early matrix multiplication was implemented by multi-processor ser...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/16
CPCG06F17/16
Inventor 高彦钊张兴明张文建吕平宋克刘勤让陈艇杨镇西黄雅静王元磊刘宗海
Owner THE PLA INFORMATION ENG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products