17-02-2022 дата публикации
Номер: US20220051046A1
Принадлежит:
A processor-in-memory device includes a memory array, a sense amplifier, and a processing unit that has an accumulator. The processing unit is configured to receive a set of data. The processing unit then uses the sense amplifier and the accumulator to generate a first histogram of the set of data. 1. A system , comprising:a host processor; and a memory array including a plurality of memory locations, wherein each of the memory locations stores a value;', 'a first accumulator coupled to a first group of the plurality of memory locations; and', 'a plurality of storage elements, wherein the plurality of storage elements are coupled to the first accumulator and the memory array; and, 'a processor-in-memory device coupled to the host processor, wherein the processor-in-memory device comprises receive a data set comprising a plurality of data batches, wherein each data batch comprises a plurality of data points;', 'determine, by the first accumulator, to which category of a plurality of categories each data point in a first batch of the plurality of data batches belongs;', 'set a value of a flag bit, in a first storage element of the plurality of storage elements, wherein the flag bit corresponds, in bit position, to the category of the plurality of categories to which a data point in the first batch of data is determined to belong; and', 'after having set a value of each of a first subset of a set of flag bits in the plurality of storage elements, each flag bit of the first subset respectively corresponding, in bit position, to a category of data determined to be present in the first data batch, increment at least one first value stored in each of the first group of the plurality of memory locations to generate a first histogram of the first batch of a data set using the first accumulator based on whether or not a corresponding respective flag bit stored in the storage element was set as part of the first subset such that a first data point determined to belong to a ...
Подробнее