-
公开(公告)号:US11900113B2
公开(公告)日:2024-02-13
申请号:US17227590
申请日:2021-04-12
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Lijuan Hai , Chen Cheng , Christopher Rodrigues , Peng Wu
CPC classification number: G06F9/3005 , G06F8/314 , G06F8/433 , G06F8/458 , G06F9/30087 , G06F9/3867 , G06F9/522
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.
-
公开(公告)号:US20240201968A1
公开(公告)日:2024-06-20
申请号:US18407383
申请日:2024-01-08
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Zhikang Liu , Lingfei Wu , Jinglei Lu , Ziming Xu , Chen Cheng
IPC: G06F8/41
CPC classification number: G06F8/4441
Abstract: This application discloses a program compilation method including: obtaining a first program, where the first program includes a plurality of layers of loop statements, a loop condition of each layer of loop statement in the plurality of layers of loop statements includes a variable and a value interval of the variable, and a loop body of the plurality of layers of loop statements includes at least one conditional statement; processing a value interval of a first variable in a first loop statement included in the plurality of layers of loop statements, to obtain a second loop statement; and compiling the first program based on at least one loop statement to obtain a compilation result of the first program.
-