Method and apparatus for controlling memory using prefetch information

US2021157734A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2021157734-A1
Application numberUS-202016953242-A
CountryUS
Kind codeA1
Filing dateNov 19, 2020
Priority dateNov 27, 2019
Publication dateMay 27, 2021
Grant date

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 method for controlling a memory from which data is transferred to a neural network processor and an apparatus thereof are provided, the method including: generating prefetch information of data by using a blob descriptor and a reference prediction table after history information is input; reading the data in the memory based on the pre-fetch information and temporarily archiving read data in a prefetch buffer; and accessing next data in the memory based on the prefetch information and temporarily archiving the next data in the prefetch buffer after the data is transferred to the neural network from the prefetch buffer.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method for controlling a memory from which data is transferred to a neural network processor, the method comprising: generating prefetch information of data by using a blob descriptor and a reference prediction table after history information is input; reading the data in the memory based on the pre-fetch information and temporarily archiving read data in a prefetch buffer; and accessing next data in the memory based on the prefetch information and temporarily archiving the next data in the prefetch buffer after the data is transferred to the neural network from the prefetch buffer. 2 . The method of claim 1 , wherein the prefetch information includes first prefetch information about a source address of the data and a size of the data and second prefetch information about a source address of the next data and a size of the next data. 3 . The method of claim 2 , wherein the reading the data in the memory based on the prefetch information and temporarily archiving read data in a prefetch buffer comprises reading the data in the memory based on the source address in the first prefetch information. 4 . The method of claim 3 , further comprising: storing, after data updated based on operation using the data is archived in the prefetch buffer, updated data in the memory according to a source address of the data. 5 . An apparatus for controlling a memory from which data is transferred to a neural network processor, the apparatus comprising: a synapse correlation table configured to include a reference prediction table used for generating prefetch information of data in cooperation with a blob descriptor after history information is input; a low level memory controller configured to read the data in the memory based on the prefetch information and read next data following the data in the memory based on the prefetch information; and a prefetch buffer configured to temporarily store the data until the data read by the low level memory controller is transferred to the neural network processor and temporarily store the next data after the data is transferred to the neural network processor. 6 . The apparatus of claim 5 , wherein the prefetch information includes first prefetch information about a source address of the data and a size of the data and second prefetch information about a source address of the next data and a size of the next data. 7 . The apparatus of claim 6 , wherein the low level memory controller is further configured to read the data in the memory based on the source address of the data included in the first prefetch information and read the next data in the memory based on the source address of the next data included in the second prefetch information. 8 . The apparatus of claim 7 , wherein the prefetch buffer includes a read buffer and a write buffer and the prefetch buffer is configured to temporarily store the data in the read buffer and store the next data in the read buffer after the data is transferred to the neural network processor. 9 . The apparatus of claim 8 , wherein the prefetch buffer is further configured to temporarily store, when data updated based on operation using the data is received from the neural network processor, updated data in the write buffer. 10 . The apparatus of claim 9 , wherein the low level memory controller is further configured to store, when the updated data is temporarily stored in the write buffer, the updated data in the memory according to a target address corresponding to the source address of the data. 11 . A system for operating a neural network, the system comprising: a neural network processor including a plurality of MAC operator, a memory, and a memory controller configured to transfer data stored in the memory to the neural network processor and store data updated by the neural network processor in the memory, wherein the memory controller is configured to generate prefetch information of data by using a synapse correlation table and a blob descriptor based on history information, read the data in the memory based on the prefetch information, and read next data following the data in the memory based on the prefetch information for next operation of the neural network processor while the data is used by the neural network processor. 12 . The system of claim 11 , wherein the prefetch information includes first prefetch information about a source address of the data and a size of the data and second prefetch information about a source address of the next data and a size of the next data. 13 . The system of claim 12 , wherein the memory controller is further configured to access the source address of the data included in the first prefetch information to transfer the data to the neural network processor and access the source address of the next data included in the second prefetch information to transfer the next data to the neural network processor. 14 . The system of claim 12 , wherein the memory controller is further configured to store the updated data in the memory according to a target address corresponding to the source address of the data when the updated data is archived in a prefetch buffer.

Assignees

Inventors

Classifications

  • Combinations of networks · CPC title

  • Convolutional networks [CNN, ConvNet] · CPC title

  • Quantised networks; Sparse networks; Compressed networks · CPC title

  • Using a prefetch buffer or dedicated prefetch cache · CPC title

  • modifying the architecture, e.g. adding, deleting or silencing nodes or connections · 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 US2021157734A1 cover?
A method for controlling a memory from which data is transferred to a neural network processor and an apparatus thereof are provided, the method including: generating prefetch information of data by using a blob descriptor and a reference prediction table after history information is input; reading the data in the memory based on the pre-fetch information and temporarily archiving read data in …
Who is the assignee on this patent?
Electronics & Telecommunications Res Inst
What technology area does this patent fall under?
Primary CPC classification G06F12/0862. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu May 27 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).