发明名称 Method and system for bin coalescing for parallel divide-and-conquer sorting algorithms
摘要 A system and method for performing sorting. The method includes partitioning a plurality of keys needing sorting into a first plurality of bins, wherein the bins are sequentially sorted. The plurality of keys is capable of being sorted into a sequence of keys using a corresponding ordering system. The method includes coalescing a first pair of consecutive bins, such that when coalesced the first pair of bins falls below a threshold. The method also includes ordering keys in the first coalesced pair to generate a first sub-sequence of keys in the sequence of keys.
申请公布号 US9619204(B2) 申请公布日期 2017.04.11
申请号 US201313918185 申请日期 2013.06.14
申请人 Nvidia Corporation 发明人 Merrill Duane
分类号 G06F17/30;G06F11/30;G06F15/167;G06F9/00;G06F7/22;G06F7/24 主分类号 G06F17/30
代理机构 代理人
主权项 1. A non-transitory computer readable medium having computer executable instructions for causing a computer system to perform a method for sorting, wherein said method comprises: partitioning a plurality of keys needing sorting into a first plurality of bins that are sequentially sorted, wherein said plurality of keys is capable of being sorted into a sequence of keys using a corresponding ordering system; coalescing a first pair of consecutive bins in isolation from other bins in a first coalescing operation, such that when coalesced said first pair of consecutive bins falls below a threshold; ordering keys in said first pair of consecutive bins that is coalesced to generate a first sub-sequence of keys in said sequence of keys; repeatedly choosing candidate pairs for coalescing by recursive halving of remaining bins in plurality of bins; in parallel using a plurality of processor cores, generating a second plurality of bins by determining when to coalesce each of a plurality of pairs of consecutive bins in said first plurality of bins, such that a pair of consecutive bins when coalesced falls below said threshold; and partitioning, by a top-down, divide-and-conquer sorting algorithm, said plurality of keys into said plurality of bins.
地址 Santa Clara CA US