arXiv · 1505.02586
Performance analysis of the Kahan-enhanced scalar product on current multicore processors
Abstract
We investigate the performance characteristics of a numerically enhanced scalar product (dot) kernel loop that uses the Kahan algorithm to compensate for numerical errors, and describe efficient SIMD-vectorized implementations on recent Intel processors. Using low-level instruction analysis and the execution-cache-memory (ECM) performance model we pinpoint the relevant performance bottlenecks for single-core and thread-parallel execution, and predict performance and saturation behavior. We show that the Kahan-enhanced scalar product comes at almost no additional cost compared to the naive (non-Kahan) scalar product if appropriate low-level optimizations, notably SIMD vectorization and unrolling, are applied. We also investigate the impact of architectural changes across four generations of Intel Xeon processors.
Explore related subjects
Keep this discovery
Johannes Hofmann, Dietmar Fey, Jan Eitzinger, Georg Hager, Gerhard Wellein. 2015-05-11. Performance analysis of the Kahan-enhanced scalar product on current multicore processors. https://doi.org/10.1007/978-3-319-32149-3_7
Cite the original work for its findings. Save a collection to share your selection of sources.