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

Parallel computing method for sparse matrix vector multiplication of Shenwei architecture

A sparse matrix and architecture technology, applied in complex mathematical operations, etc., can solve problems such as limiting instruction levels, writing conflicts, and impacts, and achieve the effects of improving space and time locality, reducing waiting time for caching, and reducing the number of interactions

Active Publication Date: 2018-08-24
BEIHANG UNIV
View PDF10 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These irregularities are due to the randomness of the memory access order, and it is difficult to take advantage of the locality of the data
Since this irregular pattern has a lot to do with the random order of the input sparse matrix, it is difficult to solve it at the compiler stage
From a hardware point of view, these irregularities can lead to hidden write conflicts, which affect and limit parallelism at the instruction level and thread level.
[0004] These make the SpMV algorithm applied to the Sunway supercomputer architecture to bring greater challenges

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
  • Parallel computing method for sparse matrix vector multiplication of Shenwei architecture
  • Parallel computing method for sparse matrix vector multiplication of Shenwei architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0035] The basic idea of ​​the present invention is to divide the level of the matrix into four levels of fleet, block, tile and slice according to the system structure of Sunway, and these levels correspond to different hardware structures and computing levels respectively.

[0036] The parallel calculation method for multiplication of sparse matrix and dense vector provided by the present inve...

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 present invention relates to a parallel computing method for sparse matrix vector multiplication of a Shenwei architecture. The method comprises: dividing a sparse matrix from an original single-level data structure into a multi-level data structure, wherein the multi-level data structure comprises four levels of fleet, block, tile, and slice; and corresponding the multi-level data structure to a Shenwei hardware architecture and the calculation hierarchy. According to the method disclosed by the present invention, the spatial and temporal locality of the data is improved, and the number of times of interactions between the core group and the memory is reduced.

Description

technical field [0001] The invention relates to the field of high-performance computers, in particular to a parallel computing optimization method for multiplying sparse matrices and dense vectors applicable to the Sunway supercomputer architecture. Background technique [0002] The multiplication of sparse matrix and dense vector (Sparse Matrix-vector Multiply, abbreviated as SpMV) is a very important but independent computing core in many domain programs. It has a wide range of applications in many fields involving high performance computing, such as fluid mechanics and molecular dynamics. Moreover, problems in the field of graph computing such as PageRank and breadth-first search can also be abstracted into SpMV problems. [0003] The SpMV problem has two prominent problems in the calculation process, namely the irregularity of the calculation and memory access modes. These irregularities are caused by the randomness of the memory access order, and it is difficult to ta...

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
IPC IPC(8): G06F17/16
CPCG06F17/16
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