|
This article is cited in 5 scientific papers (total in 5 papers)
Programming & Computer Software
Circular shift of loop body — programme transformation, promoting parallelism
O. B. Shteinberg South Federal University, Rostov-on-Don, Russian Federation
Abstract:
The article deals with the programme transformation executing the circular shift of loop body statements. It can be used for vectorizing or parallelizing. This becomes possible due to the fact that when the order of loop body statements is changed, some of the bottom-up arcs become top-down arcs. Besides, sometimes loop carried dependence arcs are substituted by loop independent ones. It should be pointed out that in executing the circular shift the number of loop iterations is reduced by one. The transformation can be used both independently and in conjunction with other transformations promoting parallelism. These could be "forward substitution", "scalar expansion", "privatization", "array expansion", etc. The transformation under consideration in this article can be used both in hand parallelization and added to a paralleling (optimizing) compiler. Moreover, the application of the transformation results in the equivalent code only for the loops where loop unrolling is the equivalent transformation. Thus, they can contain nested loops, if statements and other programming language statements.
Keywords:
parallel computations; programme transformations; dependence graph; scalar expansion; loop distribution.
Received: 16.06.2016
Citation:
O. B. Shteinberg, “Circular shift of loop body — programme transformation, promoting parallelism”, Vestnik YuUrGU. Ser. Mat. Model. Progr., 10:3 (2017), 120–132
Linking options:
https://www.mathnet.ru/eng/vyuru391 https://www.mathnet.ru/eng/vyuru/v10/i3/p120
|
Statistics & downloads: |
Abstract page: | 150 | Full-text PDF : | 47 | References: | 40 |
|