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

Sparse matrix acceleration calculation method, device, equipment and system thereof

A technology of sparse matrix and calculation method, applied in the field of sparse matrix, can solve problems such as irregular distribution of non-zero elements, waste of storage space, and reduction of calculation speed

Pending Publication Date: 2019-05-03
GUANGDONG INSPUR BIG DATA RES CO LTD
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since the number of non-zero elements in a sparse matrix is ​​much smaller than the total number of matrix elements, and the distribution of non-zero elements is irregular, the calculation of the sparse matrix according to the conventional matrix calculation method is a great waste of storage space and extremely Greatly reduces the calculation speed

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
  • Sparse matrix acceleration calculation method, device, equipment and system thereof
  • Sparse matrix acceleration calculation method, device, equipment and system thereof
  • Sparse matrix acceleration calculation method, device, equipment and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The core of the present invention is to provide a sparse matrix accelerated calculation method, device, equipment and system thereof, which only calculate and save non-zero data when multiplying sparse matrices, thereby reducing the occupation of storage space and increasing the calculation speed .

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0049] The present invention provide...

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 sparse matrix acceleration calculation method, which comprises the following steps: in the operation process of a processor, receiving two sparse matrixes to be multiplied sent by a main memory; performing non-zero detection on each sparse matrix, and correspondingly storing the non-zero data in each sparse matrix and the row number and the column number where the non-zero data are located; Controlling non-zero data at corresponding row / column numbers in the two sparse matrixes to carry out product summation according to a matrix multiplication rule to obtain a product summation result; and storing the product summation result and the row number and the column number of the product summation result in the product matrix of the two sparse matrixes, returning the product summation result as product matrix data of the two sparse matrixes to the main memory, and enabling the processor to perform operation according to the product matrix data. When the sparse matrix is multiplied, only the non-zero data is calculated and stored, so that the occupation of the storage space is reduced, and the calculation speed is increased. The invention further discloses a device, equipment and a system based on the method.

Description

technical field [0001] The present invention relates to the field of sparse matrix technology, in particular to a sparse matrix acceleration calculation method, device, equipment and system thereof. Background technique [0002] With the near failure of Moore's Law, the computing performance of general-purpose processors (CPU) is also approaching the limit, but with the vigorous rise of cloud computing, big data, mobile Internet, artificial intelligence, and 5G, the computing requirements for processors are increasing. The higher it is, the contradiction between the two will be inevitable. [0003] Sparse matrices are generated in almost all large-scale scientific and engineering computing fields, including the current big data, image processing and other popular fields. Sparse matrices are data processing objects that often appear in the process of processor operations. Usually, the sparse matrices need to be processed by the processor. Multiplication processing, for examp...

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 Applications(China)
IPC IPC(8): G06F7/78
Inventor 张贞雷
Owner GUANGDONG INSPUR BIG DATA RES CO LTD
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