发明授权
- 专利标题: Reordering data using a series of offsets
- 专利标题(中): 使用一系列偏移量重新排序数据
-
申请号: US11836415申请日: 2007-08-09
-
公开(公告)号: US07689541B1公开(公告)日: 2010-03-30
- 发明人: Scott M. Le Grand
- 申请人: Scott M. Le Grand
- 申请人地址: US CA Santa Clara
- 专利权人: NVIDIA Corporation
- 当前专利权人: NVIDIA Corporation
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Patterson & Sheridan, LLP
- 主分类号: G06F7/00
- IPC分类号: G06F7/00
摘要:
One embodiment of the present invention sets forth a technique for efficiently performing a radix sort operation on a graphics processing unit (GPU). The radix sort operation is conducted on an input list of data using one or more passes of a series of three processing phases. In each processing phase, thread groups are each associated with one segment of input data. In the first phase, occurrences of each radix symbol are counted and stored in a list of counters. In the second phase, the list of counters is processed by a parallel prefix sum operation to generate a list of offsets. In the third phase, the list of offsets is used to perform re-ordering on the list of data, according to the current radix symbol. To maintain sort stability, the one or more passes proceed from least significant data to most significant data in the sort key.
信息查询