Merge sort accelerator

US10809978B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10809978-B2
Application numberUS-201815995647-A
CountryUS
Kind codeB2
Filing dateJun 1, 2018
Priority dateJun 2, 2017
Publication dateOct 20, 2020
Grant dateOct 20, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A merge sort accelerator (MSA) includes a pre-processing stage configured to receive an input vector and generate a pre-processing output vector based on a pre-processing instruction and the input vector. The MSA also includes a merge sort network having multiple sorting stages configured to be selectively enabled. The merge sort network is configured to receive the pre-processing output vector and generate a sorted output vector based on a sorting instruction and the pre-processing output vector. The MSA includes an accumulator stage configured to receive the sorted output vector and update an accumulator vector based on the accumulator instruction and the sorted output vector. The MSA also includes a post-processing stage configured to receive the accumulator vector and generate a post-processing output vector based on a post-processing instruction and the accumulator vector.

First claim

Opening claim text (preview).

What is claimed is: 1. A system, comprising: a memory: a processor; an accelerator coupled to the memory and the processor, the accelerator configured to: access an input vector from a memory; receive, from the processor, a pre-processing instruction that indicates, for each element of a pre-processing output vector, a mapping from an element of the input vector to the pre-processing output vector; and generate the pre-processing output vector based on the pre-processing instruction and the input vector; receive, from the processor, a sorting instruction that indicates a first sorting and a second sorting to be applied; and generate a sorted output vector based on the sorting instruction and the pre-processing output vector; receive, from the processor, an accumulator instruction that indicates whether to: replace an accumulator vector with the sorted output vector; or compare the sorted output vector with the accumulator vector and replace the accumulator vector with a result of the comparison; and update the accumulator vector based on the accumulator instruction and the sorted output vector; and receive, from the processor, a post-processing instruction that indicates a selection of elements of the accumulator vector and a position in a post-processing output vector for each of the selected elements; and generate the post-processing output vector based on the instruction and the accumulator vector. 2. The system of claim 1 wherein the accelerator is further configured to provide a vector from a memory to the pre-processing stage as the input vector. 3. The system of claim 1 wherein the accelerator is further configured to: receive an instruction that indicates elements of the post-processing output vector to be stored; and store the indicated elements of the post-processing output vector. 4. The system of claim 1 wherein: the pre-processing instruction specifies for each element of the pre-processing output vector whether that element of the pre-processing output vector is a previous element of the input vector, a current element of the input vector, a next element of the input vector, or a special value. 5. The system of claim 1 wherein the first sorting swaps elements of the pre-processing output vector based on a comparison of those elements of the pre-processing output vector or based on a comparison of associated elements of a previous pre-processing vector. 6. The system of claim 1 wherein the post-processing instruction further indicates one or more positions in the post-processing output vector for insertion of a special value. 7. A method comprising: receiving an input vector; receiving a pre-processing instruction that indicates, for each element of a pre-processing output vector, a mapping from an element of the input vector to the pre-processing output vector; generating the pre-processing output vector based on the pre-processing instruction and the input vector; receiving a sorting instruction that indicates a first sorting and a second sorting to be applied; generating a sorted output vector based on the sorting instruction and the pre-processing output vector; receiving an accumulator instruction that indicates whether to: replace an accumulator vector with the sorted output vector; or compare the sorted output vector with the accumulator vector and replace the accumulator vector with a result of the comparison; updating the accumulator vector based on the accumulator instruction and the sorted output vector; receiving a post-processing instruction that indicates a selection of elements of the accumulator vector and a position in a post-processing output vector for each of the selected elements; and generating the post-processing output vector based on the instruction and the accumulator vector. 8. The method of claim 7 further comprising loading a vector from a memory to be pre-processed as the input vector. 9. The method of claim 7 further comprising storing only selected elements of the post-processing output vector. 10. The method of claim 7 wherein the sorting results in a fully sorted output vector. 11. The method of claim 7 , further comprising: receiving an instruction that indicates elements of the post-processing output vector to be stored; and storing the indicated elements of the post-processing output vector. 12. The method of claim 7 wherein the pre-processing instruction specifies for each element of the pre-processing output vector whether that element of the pre-processing output vector is a previous element of the input vector, a current element of the input vector, a next element of the input vector, or a special value. 13. The method of claim 7 wherein the first sorting indicates to swap elements of the pre-processing output vector based on a comparison of those elements of the pre-processing output vector or based on a comparison of associated elements of a previous pre-processing vector. 14. The method of claim 7 wherein the post-processing instruction further indicates one or more positions in the post-processing output vector for insertion of a special value.

Assignees

Inventors

Classifications

  • G06F7/16Primary

    Combined merging and sorting · CPC title

  • Instructions to perform operations on packed data, e.g. vector, tile or matrix operations · CPC title

  • Compare instructions, e.g. Greater-Than, Equal-To, MINMAX · CPC title

  • Sorting, i.e. extracting data from one or more carriers, rearranging the data in numerical or other ordered sequence, and rerecording the sorted data on the original carrier or on a different carrier or set of carriers {sorting methods in general}(G06F7/36 takes precedence) · CPC title

  • Merging, i.e. combining data contained in ordered sequence on at least two record carriers to produce a single carrier or set of carriers having all the original data in the ordered sequence {merging methods in general}(G06F7/36 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10809978B2 cover?
A merge sort accelerator (MSA) includes a pre-processing stage configured to receive an input vector and generate a pre-processing output vector based on a pre-processing instruction and the input vector. The MSA also includes a merge sort network having multiple sorting stages configured to be selectively enabled. The merge sort network is configured to receive the pre-processing output vector…
Who is the assignee on this patent?
Texas Instruments Inc
What technology area does this patent fall under?
Primary CPC classification G06F7/16. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 20 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 11 related publications on this page (citations in our corpus or others sharing the same primary CPC).