Portable SIMD Performance with OpenMP* 4.x Compiler Directives

  • Effective vectorization is becoming increasingly important for high performance and energy efficiency on processors with wide SIMD units. Compilers often require programmers to identify opportunities for vectorization, using directives to disprove data dependences. The OpenMP 4.x SIMD directives strive to provide portability. We investigate the ability of current compilers (GNU, Clang, and Intel) to generate SIMD code for microbenchmarks that cover common patterns in scientific codes and for two kernels from the VASP and the MOM5/ERGOM application. We explore coding strategies for improving SIMD performance across different compilers and platforms (Intel® Xeon® processor and Intel® Xeon Phi™ (co)processor). We compare OpenMP* 4.x SIMD vectorization with and without vector data types against SIMD intrinsics and C++ SIMD types. Our experiments show that in many cases portable performance can be achieved. All microbenchmarks are available as open source as a reference for programmers and compiler experts to enhance SIMD code generation.

Export metadata

  • Export Bibtex
Metadaten
Author:Florian Wende, Matthias Noack, Thomas Steinke, Michael Klemm, Georg Zitzlsberger, Chris J. Newburn
Editor:Pierre-Francois Dutot, Denis Trystram
Document Type:In Proceedings
Volume:Euro-Par 2016: Parallel Processing: 22nd International Conference on Parallel and Distributed Computing
Series:LNCS
Publisher:Springer International Publishing
Year of first publication:2016
ISBN:978-3-319-43659-3
DOI:http://dx.doi.org/10.1007/978-3-319-43659-3_20

$Rev: 13581 $