RUS  ENG
Full version
JOURNALS // Vestnik Yuzhno-Ural'skogo Universiteta. Seriya Matematicheskoe Modelirovanie i Programmirovanie // Archive

Vestnik YuUrGU. Ser. Mat. Model. Progr., 2020 Volume 13, Issue 3, Pages 59–67 (Mi vyuru557)

This article is cited in 1 paper

Programming & Computer Software

Parallelization of recurrent loops due to the preliminary computation of superpositions

O. B. Shteinberg

South Federal University, Rostov-on-Don, Russian Federation

Abstract: As a rule, sections of code that take a lot of time to compute are loops. Therefore, it is precisely on them that special efforts are directed when accelerating programs, in particular, through parallelization.
The article describes the parallelization algorithm for loops calculating the elements of a recursively given sequence. The recurrent loops considered in the article cannot be directly parallelized. With the help of auxiliary transformations, they can sometimes be reduced to loops that allow parallel execution. Earlier, the author of the article published another algorithm for parallelizing loops that calculate the elements of a recursively given sequence.
In modern processors, the execution time of arithmetic operations is an order of magnitude faster than reading the arguments of these operations from RAM. This article provides estimates of the complexity of accessing memory for the described algorithm. The parallel algorithm presented in the article is more efficient in accessing memory than the algorithm described by the author earlier.

Keywords: recurrent loops, numerical methods, parallel computation, program transformations, recurrent sequences.

UDC: 510.57

MSC: 68W10

Received: 07.03.2020

DOI: ~10.14529/mmp200305



© Steklov Math. Inst. of RAS, 2024