Sparse matrix data storage method based on ground power unit (GPU)
A data storage and sparse matrix technology, applied in the field of GPU-based sparse matrix data storage, can solve problems such as wasted computing resources and unbalanced load, and achieve the effect of reducing the variation of row length, avoiding thread idling, and reducing reduction steps.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] Below in conjunction with accompanying drawing and example the present invention is described in further detail.
[0017] Such as figure 1 Shown, the data storage format SC-CSR generation method of the present invention is:
[0018] (1) The CPU reads the matrix file and converts it into a sparse row compression format;
[0019] (2) Calculate the number of non-zero elements in each row in the sparse row compression format, and store it in the array length[];
[0020] (3) sort the array length[] in ascending order;
[0021] (4) According to the number of non-zero elements in each row in the array length[], the array length[] is divided into [0,8), [8,16), [16,32), [32,+ ∞) four segments;
[0022] (5) counter i=0 is set, and initialization array c[4]={32,16,8,4};
[0023] (6) judge whether the number of rows that the i-th paragraph includes is divided by c[i] greater than the threshold of GPU full load operation, if not, then proceed to step (7), if so, then proceed 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