Neural network processing system for data moving method using direct memory access apparatus
AssigneeBeijing ESWIN Computing Technology Co., Ltd.
InventorShilin Luo
Life of this patent
Estimating the term…
Abstract
A data moving method for a direct memory access apparatus is disclosed, and the data moving method for the direct memory access apparatus includes: receiving, by the direct memory access apparatus, an object data moving instruction and decoding the object data moving instruction, wherein the object data moving instruction includes a first field, and the first field of the object data moving instruction indicates a data moving operation for a neural-network processor; and executing, by the direct memory access apparatus, the object data moving instruction.
Claims19
A data moving method for a direct memory access apparatus, comprising:
- receiving, by the direct memory access apparatus, an object data moving instruction and decoding the object data moving instruction, wherein the object data moving instruction comprises a first field, and the first field of the object data moving instruction indicates a data moving operation for a neural-network processor;
- and
- executing, by the direct memory access apparatus, the object data moving instruction,
- wherein the object data moving instruction comprises a first data moving instruction, the first data moving instruction comprises a second field, and the second field of the first data moving instruction indicates data moving address information, and
- wherein the neural-network processor comprises at least one processing unit array, and the data moving address information is obtained based on a mapping relationship between data to be moved and at least one processing unit in the processing unit array.
A method for controlling a direct memory access apparatus to write an instruction, wherein the direct memory access apparatus is coupled to an interface decoder, a first field of a first data moving instruction indicates a credit number reading operation for the direct memory access apparatus, the first data moving instruction further comprises a second field indicating a credit number, and the credit number indicates a space size of the direct memory access apparatus for storing instructions;
- and
- the method comprises:
- decoding, by the interface decoder, the second field of the first data moving instruction, and controlling writing of an object data moving instruction into the direct memory access apparatus according to the credit number decoded,
- wherein the object data moving instruction comprises a first field, the first field of the object data moving instruction indicates a data moving operation for a neural-network processor, and the object data moving instruction is received and executed by the direct memory access apparatus,
- wherein the object data moving instruction comprises a second data moving instruction, the second data moving instruction comprises a second field, and the second field of the second data moving instruction indicates data moving address information, and
- wherein the neural-network processor comprises at least one processing unit array, and the data moving address information is obtained based on a mapping relationship between data to be moved and at least one processing unit in the processing unit array.
Dependencies are inferred from the claim text.