Computing reduction and prefix sum operations in memory
AssigneeMicron Technology, Inc.
InventorJeremiah J. Willcock
Life of this patent
Estimating the term…
Abstract
The present disclosure includes apparatuses and methods for computing reduction and prefix sum operations in memory. A number of embodiments include processing circuitry configured to compute a reduction operation on data stored in a group of memory cells by splitting the data into a plurality of elements, copying each of the plurality of elements into elements that are wider than before being copied, and performing a logical operation associated with the reduction operation on each of the copied elements.
Claims17
An apparatus, comprising:
- processing circuitry configured to compute a reduction operation on data stored in a group of memory cells, wherein the reduction operation includes:
- splitting the data into even indexed elements and odd indexed elements;
- copying each of the even indexed elements and each of the odd indexed elements into elements twice as wide and half as tall as before being copied;
- performing an addition operation on each of the copied even indexed elements and each of the copied odd indexed elements;
- splitting data obtained by performing the addition operation on each of the copied even indexed elements and each of the copied odd indexed elements into additional even indexed elements and additional odd indexed elements;
- copying each of the additional even indexed elements and each of the additional odd indexed elements into elements twice as wide and half as tall as before being copied;
- and
- performing an addition operation on each of the copied additional even indexed elements and each of the copied additional odd indexed elements.
A method of operating processing circuitry, comprising:
- computing a prefix sum operation on data stored in a group of memory cells, wherein the prefix sum operation includes:
- splitting the data into even indexed elements and odd indexed elements;
- copying each of the even indexed elements and each of the odd indexed elements into elements twice as wide and half as tall as before being copied;
- performing an addition operation on each of the copied even indexed elements and each of the copied odd indexed elements;
- splitting data obtained by performing the addition operation on each of the copied even indexed elements and each of the copied odd indexed elements into additional even indexed elements and additional odd indexed elements;
- copying each of the additional even indexed elements and each of the additional odd indexed elements into elements twice as wide and half as tall as before being copied;
- and
- performing an addition operation on each of the copied additional even indexed elements and each of the copied additional odd indexed elements.
An apparatus, comprising:
- processing circuitry configured to compute a prefix sum operation on data stored in a group of memory cells, wherein the prefix sum operation includes:
- splitting the data into even indexed elements and odd indexed elements;
- copying each of the even indexed elements and each of the odd indexed elements into elements twice as wide and half as tall as before being copied;
- performing an addition operation on each of the copied even indexed elements and each of the copied odd indexed elements;
- shifting data obtained by performing the addition operation on each of the copied even indexed elements and each of the copied odd indexed elements by one element;
- performing an addition operation on the shifted data and each of the copied even indexed elements;
- packing data obtained by performing the addition operation on the shifted data and each of the copied even indexed elements into elements half as wide and twice as tall as before performing the addition operation on the shifted data and each of the copied even indexed elements;
- shifting the packed data by one element;
- performing an addition operation on the shifted packed data and each of the copied even indexed elements;
- and
- packing data obtained by performing the addition operation on the shifted packed data and each of the copied even indexed elements into elements half as wide and twice as tall as before performing the addition operation on the shifted packed data and each of the copied even indexed elements by packing the data into four by one elements.
Dependencies are inferred from the claim text.