10 GPU programming model
This chapter covers
- Developing a general GPU programming model
- Understanding how it maps to different vendors’ hardware
- Learning what details of the programming model influence performance
- Mapping the programming model to different GPU programming languages
In this chapter, we will develop an abstract model of how work is performed on GPUs. This programming model fits a variety of GPU devices from different vendors and across the models from each vendor. It is also a simpler model than what occurs on the real hardware, capturing just the essential aspects required to develop an application. Fortunately, various GPUs have a lot of similarities in structure. This is a natural result of the demands of high-performance ...
Get Parallel and High Performance Computing 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.