01

The CPU's job

The CPU executes instructions for the operating system and applications, making decisions, handling branches and managing memory. It is optimised to finish individual tasks quickly, with large caches and sophisticated control logic.

02

The GPU's job

Drawing a 3D scene means calculating the colour of millions of pixels, each independently. GPUs were designed to do these similar calculations in parallel, using many small cores and very fast memory.

03

From games to AI

Training neural networks involves huge numbers of matrix multiplications, which also run well in parallel. Since the early 2010s, GPUs have become the main engines of AI, and companies such as Nvidia have grown rapidly as a result.

04

Working together

In a computer, the CPU prepares work and sends it to the GPU, then collects the results. Some tasks benefit greatly from GPUs, such as video editing and scientific simulation; others, like word processing, rely on the CPU.

FOLLOW THE EVIDENCE

Sources & further reading

Core counts are approximate. Photograph: original AI-generated illustration (Adobe Firefly). Reference organisations do not endorse this website.