|
Discrete mathematics and Mathematical cybernetics
Generalized blocked Floyd – Warshall algorithm
N. A. Likhoded, D. S. Sipeyko Belarusian State University, 4 Niezaliežnasci Avenue, Minsk 220030, Belarus
Abstract:
One of the most commonly used on practice all-pairs shortest paths algorithms on weighted graphs is Floyd – Warshall algorithm. Blocked version serves as a basis for obtaining effective parallel algorithms to be implemented on multicore central processing units, on computers with distributed memory, on graphics processing units (GPU). Increasing computation granularity in blocked versions of algorithm leads to a more efficient usage of caches and more efficient organization of parallel computations. In this paper we introduce generalization of blocked Floyd – Warshall algorithm. Computing blocks execution order was reorganized in such a way that array elements which participate in communication operations, both reading and writing, are pushed out of fast-access memory less often. This means that in GPU implementation slow global memory is used less often, compared with the original blocked algorithm.
Keywords:
parallel algorithms; shortest paths; graphs; Floyd – Warshall algorithm; block algorithm; GPU.
Received: 22.09.2019
Citation:
N. A. Likhoded, D. S. Sipeyko, “Generalized blocked Floyd – Warshall algorithm”, Journal of the Belarusian State University. Mathematics and Informatics, 3 (2019), 84–92
Linking options:
https://www.mathnet.ru/eng/bgumi106 https://www.mathnet.ru/eng/bgumi/v3/p84
|
Statistics & downloads: |
Abstract page: | 122 | Full-text PDF : | 106 | References: | 23 |
|