Sparse matrix LU decomposition method based on GPU

A sparse matrix and matrix technology, which is applied in the field of electronic design automation and parallel computing, can solve the problems of limited number of CPU cores and the inability to further improve the performance of sparse matrix LU, so as to improve the operation speed and reduce the simulation time.

Inactive Publication Date: 2013-11-20
TSINGHUA UNIV
View PDF3 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the number of CPU cores for shared memory is usually limited (most commercial CPUs do not exceed 6 cores, such as Intel Xeon X5680, AMD Phenom II), the performance of sparse matrix LU decomposition on multi-core CPUs cannot be further improved

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 LU decomposition method based on GPU
  • Sparse matrix LU decomposition method based on GPU
  • Sparse matrix LU decomposition method based on GPU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0038] In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", " The orientations or positional relationships indicated by "vertical", "horizontal", "top", "bottom", "inner" and "outer" are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and Simplified descriptions, rather than indicating or implying that the device or element refe...

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 provides a sparse matrix LU decomposition method based on a GPU. The sparse matrix LU decomposition method includes the following steps: A, building a to-be-simulated circuit matrix of a circuit network on a CPU, and performing preprocessing and rarefaction on the circuit matrix; B, selecting a computing platform for processing a sparse matrix LU according to preprocessing results; C, performing decomposition on the sparse matrix LU through the GPU if the computing platform which is used is the GPU; D, performing back substitution solution on values of non-zero elements in the sparse matrix LU through the CPU so as to complete decomposition of the sparse matrix LU. According to the sparse matrix LU decomposition method, the computing platform can be selected automatically according to the number of floating-point operation times in decomposition, the task on the CPU and the task on the GPU can be distributed reasonably, coordinated operation of a plurality of threads on the GPU is guaranteed, and therefore the computing speed is improved and circuit simulation time is shortened.

Description

technical field [0001] The invention relates to the fields of electronic design automation and parallel computing, in particular to a GPU-based sparse matrix LU decomposition method. Background technique [0002] Sparse matrix LU decomposition is a basic operation in linear algebra, and it is widely used in circuit simulation, structural mechanics, economic modeling and many other fields. In circuit simulation, the circuit is represented as a matrix, and the circuit matrix is ​​extremely sparse, usually with only about 5 non-zero elements in each row. determined for this reason. The process of solving the circuit is the process of solving the sparse matrix equation Ax=b by using the sparse matrix LU decomposition. In a circuit simulation, the sparse matrix LU decomposition is located in the two-layer loop of Newton-Raphson iteration and transient iteration, and needs to be iteratively performed many times. This step is currently the most commonly used circuit simulation SP...

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): G06F17/16
Inventor 任令陈晓明汪玉杨华中
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products