Method and apparatus to achieve maximum outer level parallelism of a loop
Abstract
In one embodiment, the present invention includes a method for constructing a data dependency graph (DDG) for a loop to be transformed, performing statement shifting to transform the loop into a first transformed loop according to at least one of first and second algorithms, performing unimodular and echelon transformations of a selected one of the first or second transformed loops, partitioning the selected transformed loop to obtain maximum outer level parallelism (MOLP), and partitioning the selected transformed loop into multiple sub-loops. Other embodiments are described and claimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: constructing a data dependency graph (DDG) for a loop to be transformed, the DDG representing each statement in the loop as a node and dependences between statements as edges with corresponding weights; performing statement shifting to transform the loop into a first transformed loop according to a first algorithm; determining whether the first transformed loop meets predetermined criteria, and performing statement shifting to transform the loop into a second transformed loop according to a second algorithm if the first transformed loop does not meet the predetermined crit
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Chang et al., Increasing Parallelism of Loops with the Loop Distribution Technique, Proceedings of National Computer Symposium 1995, pp. 568-575.
- Darte et al., Loop Shifting for Loop Cpmpaction, published by Springer-Verlag Berline Heidelberg 2000, pp. 415-431.
- J. Ramanujam, Beyond Unimodular Transformations, published by Kluwer Academic Publishers, The Journal of Supercomputing, 9, 1995, pp. 365-389.
- Jingling Xue, Unimodular Transformations of Non-Perfectly Nested Loops, pblished in Parallel Computing 1997, pp. 1-28.
- Kennedy et al., Maximizing Loop Parallelism and Improving Data Locality via Loop Fusion and Distribution, published in Languages and Compilers for Parallel Computing, 1994, pp. 1-20.