O'Reilly logo

Intel Xeon Phi Processor High Performance Programming, 2nd Edition by Avinash Sodani, James Reinders, James Jeffers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required