CPC G06F 9/30043 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0655 (2013.01); G06F 3/0673 (2013.01); G06F 9/3836 (2013.01)] | 20 Claims |
1. A method for loading data, comprising the following steps:
sending, by a first processing unit, a first instruction to a near memory processing (NMP) unit through a network on chip (NOC), wherein the first instruction comprises a first address, a plurality of second addresses and an operation type, and the first address and the plurality of second addresses are associated with a first memory;
in response to the first instruction, performing, by the NMP unit, operations associated with the operation type on a plurality of data items on the plurality of second addresses of the first memory, so as to generate an operation result;
storing, by the NMP unit, the operation result to the first address of the first memory;
issuing, by the first processing unit, a flush instruction to make the operation result on the first address visible to the first processing unit; and
issuing, by the first processing unit, a read instruction to read the operation result on the first address to the first processing unit.
|