O'Reilly logo

Game Programming Gems 8 by Adam Lake

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 7.1. Using Heterogeneous Parallel Architectures with OpenCL

Udeepta Bordoloi, Benedict R. Gaster, and Marc Romankewicz, Advanced Micro Devices

Open Compute Language (OpenCL) [Munshi09] is an open standard for data-and task-parallel programming on CPUs and GPUs. It is developed by the Khronos Group, which is part of the Compute Working Group and includes members from AMD, Apple, Electronic Arts, IBM, Intel, NVIDIA, Qualcomm, and others. OpenCL is a standard to enable parallel programming on heterogeneous compute platforms. It can provide access to all the machine’s compute resources, including CPUs and GPUs.

In this gem, we give a primer on OpenCL and then introduce a set of general techniques for using it to optimize games. Two examples ...

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