Sparse matrix data storage method based on ground power unit (GPU)
A data storage and sparse matrix technology, which is applied in the field of GPU-based sparse matrix data storage, can solve problems such as waste of computing resources and load imbalance, and achieve the effect of reducing the range of line length changes, avoiding thread idling, and reducing reduction steps
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0016] The present invention will be further described in detail below with reference to the drawings and examples.
[0017] Such as figure 1 As shown, the method for generating the data storage format SC-CSR 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 them in the array length[];
[0020] (3) Sort the array length[] in ascending order;
[0021] (4) Divide the array length[] into [0, 8), [8, 16), [16, 32), [32, + according to the number of non-zero elements in each row of the array length[] ∞) Four segments;
[0022] (5) Set the counter i=0, and initialize the array c[4]={32, 16, 8, 4};
[0023] (6) Determine whether the number of rows contained in the i-th segment divided by c[i] is greater than the GPU full-load operation threshold, if not, go to step (7), if yes, go to step (10);
[0024] (7...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap