A sparse matrix storage method using compressed sparse rows with local information and an implementation method of spmv based on the method
A sparse matrix, local information technology, applied in the field of high-performance numerical computing, can solve problems such as inability to vectorize, sparse storage methods do not contain key local information, etc., to improve performance, improve memory access speed and floating-point execution speed, reduce The effect of access cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] Such as figure 1 As shown, the specific implementation process of the CSRL method of the present invention,
[0038] (1) For a row in the matrix, scan all the non-zero elements in the row in the sparse matrix A, and store each non-zero element in sequence in the array val, whose length is the number nz of non-zero elements in A;
[0039] (2) If the current non-zero element is the first non-zero element, record its column subscript index, and set the variable length that records the length of the continuous non-zero element segment to 1; if it is not the first non-zero element, then judge the current non-zero element Whether it is adjacent to the previous non-zero element. If it is adjacent, add 1 to length and continue to judge the next non-zero element. If it is not adjacent, the current continuous non-zero element segment ends, and the column subscript of the first non-zero element is stored in the jas array, and the length is stored Enter the jan array. Continue ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
