Fast lock-free post-wait synchronization for exploiting parallelism on multi-core processors
Abstract
A method for improving parallel processing of computer programs. DOACROSS loops and similar code are identified and parallelized using a post-wait control structure. The post-wait control structure may be implemented to include any one of a single counter to enforce an order of execution, an array to track code completion that is indexed by a modulus of a positive integer number, and/or a set of arrays to track a last code completed by a thread and a current code being executed by a thread.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 21.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of comprising: detecting a first code sequence with internal dependencies that can be parallelized; inserting synchronization primitives automatically into the first code sequence to ensure coherent parallel processing of the first code sequence, the synchronization primitives to utilize a single counter that only includes a single value to synchronize different threads; assigning a first thread to a first iteration of the first code sequence; assigning a second thread to a second iteration of the first code sequence; determining the internal dependencies of the first and second itera
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 21 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- Chen, Ding-Kai etal., An Efficient Algorithm for the Run-time Parallelism of DOACROSS Loops, 1994, IEEE, pp. 518-527.
- Hwang, R.Y., Performance-oriented synchronization migration in a DOACROSS loop, Jul. 1996, IEE Proc-Comput. Digit Tech. vol. 141, No. 4, pp. 224-231.
- Krothapalli, V.P. etal., Removal of Redundant Dependencies in DOACROSS Loops with Constant Dependencies, 1991,IEEE, pp. 281-289.
- Su, Hong-Men etal., On Data Synchronization for Multiprocessors, ACM 1989, pp. 416-423.
- Tang,P etal., Reducing Data Communication Overhead for DOACROSS Loop Nests, ACM, 1994, pp. 44-53.