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

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.