Data flow processing method and related device
AssigneeHuawei Technologies Co., Ltd.
InventorsLijuan Hai, Chen Cheng, Christopher Rodrigues, Peng Wu
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to data flow processing methods and devices. One example method includes obtaining a dependency relationship and an execution sequence of operating a data flow by a plurality of processing units, generating synchronization logic based on the dependency relationship and the execution sequence, and inserting the synchronization logic into an operation pipeline of each of the plurality of processing unit to generate executable code.
Claims19
A data flow processing method, wherein the method comprises:
- obtaining, through serialization analysis, a dependency relationship and an execution sequence of operating a data flow by a plurality of processing units, wherein each processing unit of the plurality of processing units corresponds to an operation pipeline;
- generating synchronization logic based on the dependency relationship and the execution sequence, wherein the synchronization logic ensures synchronization between operation instructions in the plurality of operation pipelines;
- and
- in response to generating the synchronization logic, automatically inserting the synchronization logic into each operation pipeline corresponding to each processing unit of the plurality of processing units to generate executable code.
A data flow processing apparatus, comprising a memory, a communications bus, and at least one processor, wherein the memory stores programming instructions for execution by the at least one processor to perform operations comprising:
- obtaining, through serialization analysis, a dependency relationship and an execution sequence of operating a data flow by a plurality of processing units, wherein each processing unit of the plurality of processing units corresponds to an operation pipeline;
- generating synchronization logic based on the dependency relationship and the execution sequence, wherein the synchronization logic ensures synchronization between operation instructions in the plurality of operation pipelines;
- and
- in response to generating the synchronization logic, automatically inserting the synchronization logic into each operation pipeline corresponding to each processing unit of the plurality of processing units to generate executable code.
A non-transitory computer-readable storage medium, wherein the computer-readable storage medium stores an instruction which when run on a computer, cause the computer to perform operations comprising:
- obtaining, through serialization analysis, a dependency relationship and an execution sequence of operating a data flow by a plurality of processing units, wherein each processing unit of the plurality of processing units corresponds to an operation pipeline;
- generating synchronization logic based on the dependency relationship and the execution sequence, wherein the synchronization logic ensures synchronization between operation instructions in the plurality of operation pipelines;
- and
- in response to generating the synchronization logic, automatically inserting the synchronization logic into each operation pipeline corresponding to each processing unit of the plurality of processing units to generate executable code.
Dependencies are inferred from the claim text.