CPC G06F 9/30181 (2013.01) [G06F 13/1668 (2013.01)] | 20 Claims |
1. A data synchronization method performed by a first processor, comprising:
generating, by the first processor, a descriptor synchronization instruction for synchronizing tensor data between the first processor and a second processor according to a descriptor of tensor data to be synchronized, wherein the descriptor indicates a shape of the tensor data to be synchronized, and the descriptor synchronization instruction includes an identifier of the descriptor or content of the descriptor; and
sending the descriptor synchronization instruction to the second processor, wherein the descriptor synchronization instruction is configured to instruct the second processor to obtain the tensor data to be synchronized according to the shape of the tensor data indicated by the descriptor obtainable from the descriptor synchronization instruction.
|