Data storage method for sparse matrix and method for realizing SpMV based on same
A sparse matrix and data storage technology, applied in complex mathematical operations and other directions, can solve the problems of occupying bandwidth resources, high density of non-zero elements, scattered distribution, etc., to improve operating efficiency, reduce zero element filling, and improve efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0069] A data storage method for sparse matrices, referred to as:
[0070] A. Scan the sparse matrix with the number of rows of the given column unit size mrows. When a non-zero element is scanned, store the non-zero element value of the column where the non-zero element is located in the non-zero element array val;
[0071] B. Calculate the column value difference between the column unit where the non-zero element is located and the previous column unit, judge the type of the column value difference of the non-zero element column unit, and use the column unit with the same type of column value difference as the same column group and store the column group information to index array.
[0072] Take mrows=3 as an example, figure 1 The storage diagram obtained after the sparse matrix in the storage is stored by the method of the present invention is shown in Figure 5 , when non-zero elements 1 and 3 appear in the scan, store 1 and 3 in the array val, but since there are only t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com