Compiler framework for speculative automatic parallelization with transactional memory
Abstract
A computer program is speculatively parallelized with transactional memory by scoping program variables at compile time, and inserting code into the program at compile time. Determinations of the scoping can be based on whether scalar variables being scoped are involved in inter-loop non-reduction data dependencies, are used outside loops in which they were defined, and at what point in a loop a scalar variable is defined. The inserted code can include instructions for execution at a run time of the program to determine loop boundaries of the program, and issue checkpoint instructions and commit instructions that encompass transaction regions in the program. A transaction region can include an original function of the program and a spin-waiting loop with a non-transactional load, wherein the spin-waiting loop is configured to wait for a previous thread to commit before the current transaction commits.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 2.
Claims (1)
- Claim 1Independent Claim
A method for parallelizing execution of a computer program, comprising: scoping program variables of the program at compile time of the program, including scoping scalar variables that are involved in an inter-loop reduction dependence as shared; inserting code into the program at compile time, wherein the inserted code comprises instructions for causing a computer to perform actions at run time of the program including: determining loop boundaries at run time; issuing checkpoint instructions and commit instructions that encompass transaction regions in the program, wherein each transaction re
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (3)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (1)
- Dennis, J. B. "A Parallel Program Execution Model Supporting Modular Software Construction", 1998, IEEE, p. 50-60.