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 5. Tiled NBody Case Study

How Much Does Tiling Boost Performance for NBody?

The NBody sample was described in some detail in Chapter 2, so that background will not be repeated here. But the tiled versions were not covered. These are available in the drop-down list below the slider to set particle size. Here’s a comparison of two runs, both for the same number of particles. First, the C++ AMP simple model:

image with no caption

Second, the C++ AMP tiled model:

The numbers in the drop-down list refer to the tile size. ...

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