Language-based vectorization and parallelization using intrinsics, OpenMP, TBB and Cilk Plus
Przemysław Stpiczyński · The Journal of Supercomputing · 2018
The aim of this paper is to evaluate OpenMP, TBB and Cilk Plus as basic language-based tools for simple and efficient parallelization of recursively defined computational problems and other problems that need both task and data parallelization techniques. We show how to use these models of parallel programming to transform a source code of Adaptive Simpson’s Integration to programs that can utilize multiple cores of modern processors. Using the example of Belman–Ford algorithm for solving single-source shortest path problems, we advise how to improve performance of data parallel algorithms by tuning data structures for better utilization of vector extensions of modern processors. Manual vectorization techniques based on Cilk array notation and intrinsics are presented. We also show how to simplify such optimization using Intel SIMD Data Layout Template containers.
Cited by 14 works. doi:10.1007/s11227-017-2231-3 Open-access PDF
Authors
References
- Introduction to Algorithms
- Parallel programming in OpenMP
- Introduction to Algorithms
- Optimizing Compilers for Modern Architectures: A Dependence-based Approach
- Notes on the Adaptive Simpson Quadrature Routine
- Intel Xeon Phi Coprocessor High Performance Programming
- Intel Xeon Phi Processor High Performance Programming: Knights Landing Edition 2nd Edition
- Intel® Xeon Phi™ Coprocessor Architecture and Tools
- Parallel computing on any desktop
- Using OpenMP-The Next Step: Affinity, Accelerators, Tasking, and SIMD