Back to Search
Start Over
Improving accuracy of summation using parallel vectorized Kahan's and Gill‐Møller algorithms.
- Source :
- Concurrency & Computation: Practice & Experience; 10/25/2023, Vol. 35 Issue 23, p1-13, 13p
- Publication Year :
- 2023
-
Abstract
- The aim of this paper is to show that Kahan's and Gill‐Møller compensated summation algorithms that allow to achieve high accuracy of summing long sequences of floating‐point numbers can be efficiently vectorized and parallelized using Intel AVX‐512 intrinsics together with OpenMP constructs in order to utilize SIMD extension of modern multicore processors. Numerical experiments show that the new implementations of the algorithms achieve much better accuracy than ordinary summation in both double and single precision and their performance is comparable with the performance of the ordinary summation algorithm optimized automatically. The vectorized Gill‐Møller algorithm is faster than the vectorized Kahan's algorithm. However, in case of single precision, the accuracy of the Gill‐Møller algorithm is worse than Kahan's but it can be fixed by the use of mixed‐precision. Then the accuracy of both compensated summation algorithms is the same and the Gill‐Møller algorithm is still faster than Kahan's. [ABSTRACT FROM AUTHOR]
- Subjects :
- MULTICORE processors
ALGORITHMS
PARALLEL algorithms
Subjects
Details
- Language :
- English
- ISSN :
- 15320626
- Volume :
- 35
- Issue :
- 23
- Database :
- Complementary Index
- Journal :
- Concurrency & Computation: Practice & Experience
- Publication Type :
- Academic Journal
- Accession number :
- 172368070
- Full Text :
- https://doi.org/10.1002/cpe.7763