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

Systolic Array Architecture for Sparse Matrix Operations

A systolic array and sparse matrix technology, applied in the field of computer architecture, can solve problems such as waste, idle high-precision data paths, and lower performance of systolic arrays

Active Publication Date: 2021-09-14
BEIHANG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it is difficult for general-purpose computing platforms to effectively accelerate the processing of fine-grained mixed-precision data.
On the other hand, adding additional data paths to the accelerator to calculate mixed-precision data will bring a certain amount of overhead: when the proportion of high-precision data is too low, the high-precision data paths may be idle and cause waste; On the one hand, when the proportion of high-precision data is too high, the congestion caused by the full load of high-precision data channels may reduce the performance of the entire systolic array

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
  • Systolic Array Architecture for Sparse Matrix Operations
  • Systolic Array Architecture for Sparse Matrix Operations
  • Systolic Array Architecture for Sparse Matrix Operations

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Aiming at the problem that sparse matrix operations are difficult to be efficiently completed, the present invention proposes a systolic array architecture for sparse matrix operations. While ensuring high parallelism, low memory access bandwidth requirements, and convenient physical design, the architecture removes invalid operations that do not affect calculation results in sparse matrix operations, thereby improving its speed and energy consumption ratio. The present invention is particularly applicable to processing basic general operations such as sparse matrix-vector multiplication, sparse matrix-matrix multiplication, and the like. Next, the present invention will be further described in detail by combining specific embodiments and accompanying drawings.

[0053] figure 1 It is a structural schematic diagram of a computing unit (PE) in an embodiment of the present invention. Such as figure 1 As shown, PE consists of three parts: dynamic selection (DS) componen...

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 discloses a systolic array architecture for sparse matrix operation, which includes a plurality of processing elements (PE, processing elements) arranged in a systolic array. Each processing unit includes: a dynamic selection component (DS, dynamic selection component), which is used to select the data pair to be calculated from the compressed sparse data stream and output it to the multiply-add component; the multiply-add component (MAC) ,multiplication and accumulation component), receive the data pair sent by the dynamic selection component and perform multiplication and accumulation operations on them, and output the accumulated sum to the result forwarding component after the calculation is completed; the result forwarding component (RF, result forwarding component), Forward the accumulated sum from the multiply-add component out of the array. The invention greatly improves the speed and energy consumption ratio of sparse matrix operations, and also has a significant speed improvement when the matrix sparsity is low. In addition, in order to achieve the optimization of storage and calculation, in some tasks, the data in the same matrix needs to be Characterized with varying degrees of precision. The present invention can also operate on sparse matrices with mixed precision.

Description

Technical field: [0001] The invention relates to a computer architecture, in particular to a systolic array architecture for sparse matrix operations. Background technique [0002] The acceleration of sparse matrix operations (including sparse matrix-vector, matrix-matrix multiplication, etc.) is one of the important basic problems faced in scientific exploration and engineering practice. A sparse matrix (vector) refers to a matrix (vector) containing a large number of 0 elements, where the proportion of 0 elements is represented by the degree of sparsity. Among the operations performed on sparse matrices, some multiplication and addition operations, because they contain one or two operands equal to 0, can be removed without affecting the result. Therefore, in the process of performing sparse matrix operations, this part of invalid operations can be removed without affecting the calculation results, thereby achieving an improvement in the ratio of speed and energy consumpti...

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/16G06F7/523G06F15/80G06N3/063
CPCG06F7/523G06F15/8076G06F17/16G06N3/063
Inventor 杨建磊赵巍胜付文智
Owner BEIHANG 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