Introduction

C++ Accelerated Massive Parallelism (C++ AMP) is Microsoft’s technology for accelerating C++ applications by allowing code to run on data-parallel hardware like graphics-processing units (GPUs.) It’s intended not only to address today’s parallel hardware in the form of GPUs and APUs, but also to future-proof your code investments by supporting new parallel hardware in the future. C++ AMP is also an open specification. Microsoft’s implementation is built on top of DirectX, enabling portability across different hardware platforms. Other implementations can build on other technologies because the specification makes no requirement for DirectX.

The C++ AMP programming model comprises a modern C++ STL-like template library and two extensions ...

Get C++ AMP 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.