Method and apparatus for inserting synchronization primitive, and related device
OwnerShuaijiang Li, Xinghui Tian +3inventors
InventorsShuaijiang Li, Xinghui Tian, Xiaoxin Xu, Jiacheng Zhao, Huimin Cui
Life of this patent
Estimating the term…
Loading patent…
OwnerShuaijiang Li, Xinghui Tian +3inventors
InventorsShuaijiang Li, Xinghui Tian, Xiaoxin Xu, Jiacheng Zhao, Huimin Cui
Estimating the term…
This application provides a method and an apparatus for inserting a synchronization primitive, and a computing device. The method includes: The computing device obtains a plurality of instruction pairs in a program, then inserts a corresponding virtual synchronization primitive including a virtual identity into each instruction pair, and finally determines, based on the virtual synchronization primitive corresponding to each instruction pair, a synchronization primitive corresponding to each instruction pair. The synchronization primitive includes an event identity. A source instruction and a destination instruction in the instruction pair are executed by two different execution units. A quantity of event identities corresponding to any two execution units is fixed and is less than a quantity of virtual identities corresponding to the two execution units.
-18. (canceled)
A method, comprising:
An accelerator card, comprising:
A computing device, comprising:
Dependencies are inferred from the claim text.