Data processing method based on hardware sorting MapReduce
A data processing and hardware sorting technology, applied in the direction of electrical digital data processing, special data processing applications, digital data processing components, etc., can solve the problems of non-reusable optimization methods and limited performance improvement of MapReduce, etc. Wide-ranging, processing-speed-enhancing effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0037] GPU-based quick sort process such as figure 2 As shown, the specific operation steps are as follows:
[0038] 201. Sequence division: store data into the global storage space of the GPU, and divide it into m non-overlapping data blocks, and each data block is processed by a thread block;
[0039] 202. Thread traversal: m thread blocks traverse the corresponding data blocks in parallel, and n threads inside each thread block traverse a part of the corresponding data block in parallel, and record the number of elements greater than and less than the boundary value;
[0040] 203. Traversal count: Count the relative count value of each thread in turn, such as thread block B k The count value of each thread in (1≤k≤m) is L respectively k,1 ,...,L k,n and R k,1 ,...,R k,n , then the relative count values of the i-th (1≤i≤n) thread are and respectively;
[0041] where L k,1 and R k,1 represent thread block B respectively k Among the data traversed by the first thre...
specific Embodiment 2
[0049] The process of GPU-based merge sort method is as follows: image 3 As shown, the specific operation steps are as follows:
[0050] 301. Sequence grouping: group the sequences to be merged in pairs, divide them into m groups, and pair two sequences A in one group each time 1 and B 1 merge;
[0051] 302. Divide subsequences: separate A 1 and B 1 Divided into n subsequences, each thread block pairs A 1 A subsequence of and B 1 A subsequence of a subsequence is merged, and a total of log is required 2 The merging of n+1 rounds of sub-sequences can make sequence A 1 and B 1 Merged into an ordered sequence;
[0052] 303. Subsequence merge: for A 1 and B 1 The k-th round of merging (0≤k≤log 2 n), generate n / 2k merged results R 1 , R 2 ,...,R kr , and each merged result R i (1≤i≤kr) is divided into 2k subsequences R i,1 , R i,2 ,...,R i,kn ;
[0053] where kr(kr=n / 2k) represents the sequence A 1 and B 1 The number of merging results generated by the k-th r...
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