| CPC G06F 12/0875 (2013.01) [G06F 9/3016 (2013.01); G06F 13/28 (2013.01); G06F 2212/452 (2013.01)] | 15 Claims |

|
1. A processing apparatus for executing data processing on a plurality of channels, wherein the processing apparatus is a direct memory access apparatus, the data processing comprises a data moving operation, and the processing apparatus comprises:
a channel information acquiring circuit, configured to acquire channel information of the plurality of channels, wherein the channel information is a data channel corresponding to a global buffer cluster;
a storing circuit, comprising a plurality of storage regions corresponding to the plurality of channels, wherein the storage regions are configured to store data information for the plurality of channels;
a data reading control circuit, configured to read target data information corresponding to channel information from a target storage region among the plurality of storage regions of the storing circuit, according to the channel information;
a cache circuit, configured to pre-store the target data information read from the target storage region of the storing circuit, by the data reading control circuit, to wait for use in the data processing; and
an interface control circuit, configured to acquire the target data information from the cache circuit, generate a data moving request according to the target data information, and execute the data moving operation according to the data moving request,
wherein the data moving operation comprises moving of the data information or moving of target data indicated by the data information, the target data is data required by a neural-network processor for executing a neural network operation, and the neural-network processor comprises at least one processing unit array and a plurality of global buffer clusters, and
wherein the data information indicates address information of the target data, the address information is obtained based on a mapping relationship between the target data and at least one processing unit in the processing unit array, and each of the global buffer clusters is configured to receive the moved data information or the moved target data on one piece of channel information among the plurality of pieces of channel information.
|