O'Reilly logo

C++ AMP by Kate Gregory, Ade Miller

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

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