Chapter 3. C++ AMP Fundamentals

In Chapter 1 of this book “Overview and C++ AMP Approach,” you saw some very simple C++ AMP code to add and multiply matrices. In Chapter 2, you saw a working case study of C++ AMP in action. Before drilling down further into details such as tiling, using multiple accelerators, or effective ways to “mix and match” CPU and GPU acceleration, it’s a good idea to review the fundamentals of C++ AMP and ensure that you’re clear on all the concepts. C++ AMP consists almost entirely of library code. The two language changes ...

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.