Vectorization with SDLT
Abstract
Introduces Intel® SIMD Data Layout Templates (SDLT) containers (use in place of std::vector). For C++ code, this can offer an effective method to achieve superior performance by increasing vectorization through “AOS to SOA or AOSOA” conversions. This can enhance performance of Knights Landing or any processor. Includes sample codes, and discussion on how to transition from Array of Structures (AOS) to Structure of Arrays (SOA) or Arrays of Structure of Arrays (ASA) utilizing SDLT while maintaining a high-level object-oriented structure.
Keywords
SIMD Data Layout Templates (SDLT); Data layout; SIMD; Vectorization; Vector code; Structure of Arrays (SOA); Array of Structures (AOS); std::vector; Memory ...
Get Intel Xeon Phi Processor High Performance Programming, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.