← Course contents · Part 1

· Visual lesson · Session 1 of 56


Why do we need a GPU?

Imagine coloring a thousand little boxes. One capable helper can do it, but a team can work on many boxes together. That is the basic idea behind a GPU.

Picture the idea

Two processors working together

CPU · varied work

Runs the program and coordinates its tasks

GPU · similar calculations

Handles many suitable pieces of work together

The GPU is a specialist alongside the CPU, not its replacement. Both can perform parallel work.

Why we added GPUs

A screen contains tiny dots called pixels. Drawing a changing picture requires lots of similar calculations about their colors. GPUs were built for that work: graphics processing unit is what the name means.

AI also involves large amounts of suitable arithmetic. The same ability to handle many calculations together makes GPUs useful there.

We still need the CPU

The CPU handles a wide variety of tasks and decisions. The GPU helps with work that can be divided into many similar pieces.

Real CPUs also work in parallel. The helper analogy explains the emphasis, not an absolute rule about what either processor can do.

Try it yourself

Would you replace the CPU with a GPU to run the whole computer?

Check your answer

No. They work together. Adding a specialist does not remove the need for a general-purpose processor.

← All sessions