C++ Data Layout Abstractions through Proxy Types
Florian Wende · IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW) · 2019
Programs that process linearly indexed fields with structured element types in a data-parallel way usually suffer from the fact that compilers fail to generate efficient code if the selected data layout appears inappropriate for the chosen target architecture. If their internal heuristics cannot proof a performance gain from a data-parallel execution, compilers may fall back to scalar code generation. Data access through proxy types together with a customized container is one means to assist the compiler in generating efficient machine code in these cases without changing the user code. %We present an automated proxy-type generator (using Clang's LibTooling) and a configurable multidimensional C++ container type that supports different data layouts in a transparent way. We present an automated proxy-type generator (using Clang's LibTooling) and a configurable C++ container that supports different data layouts in a transparent way.
Cited by 2 works. doi:10.1109/ipdpsw.2019.00126
Authors
References
- Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications
- Array regrouping and structure splitting using whole-program reference affinity
- Discontinuous Galerkin methods in nanophotonics
- Abstraction for AoS and SoA Layout in C++
- SoAx: A generic C++ Structure of Arrays for handling particles in HPC codes
- Data layout optimization for multi-valued containers in OpenCL
- Data Layout and SIMD Abstraction Layers: Decoupling Interfaces from Implementations
- Solving Maxwell's Equations with Modern C++ and SYCL: A Case Study
- Simulation of Second Harmonic Generation from Photonic Nanostructures Using the Discontinuous Galerkin Time Domain Method
- STrans: a comprehensive framework for structure transformation