Chapter 4. Tiling

The time comparisons of the case study in Chapter 2, showed that C++ AMP can dramatically outperform single-threaded simple calculations on the CPU. If your only two choices when designing your application were simple C++ AMP and single-CPU, then the choice would be simple: you’d use C++ AMP. However, you have a number of other choices that can make your CPU solutions faster. One of these is clever caching of intermediate results to reduce the number of times each calculation must be performed. Another, done automatically for you on the CPU, ...

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.