CPU vs GPU: why AI runs on graphics chips
Latency-optimised cores versus throughput-optimised cores, and why matrix maths belongs on the GPU while the CPU stays the conductor.
- Compare and contrast GPU and CPU architectures.
- Explain the factors contributing to recent rapid improvements and adoption of AI.
Intel's article makes the key point first: CPU versus GPU is not a contest with one winner. They are built for different kinds of work, and every AI server uses both. The exam wants you to explain why each is built the way it is.
01The CPU: built for latency
A CPU has a small number of powerful cores (tens in a server chip). Each core has large caches, sophisticated branch prediction and out-of-order execution, all designed to finish one stream of instructions as fast as possible. That suits work that is sequential or full of decisions: the operating system, databases, web servers, data preparation, and orchestrating everything else. Intel calls it the brain of the computer.
02The GPU: built for throughput
A GPU has thousands of simpler cores grouped into streaming multiprocessors. Individually they are slower and less clever, but they execute the same instruction on many pieces of data at once. GPUs started as fixed-function graphics chips (every pixel needs the same maths) and became programmable, general-purpose parallel processors. Modern data center GPUs add Tensor Cores, units dedicated to the matrix multiply-accumulate operations that dominate neural networks, plus very fast HBM memory with terabytes per second of bandwidth.
Try the race: the same 256 independent tasks, four strong workers versus 256 simple ones.
03Why neural networks fit the GPU
A neural network layer is essentially a large matrix multiplication: millions of independent multiply-and-add operations with no decisions between them. That is the ideal GPU workload. The same work on a CPU runs on a few cores, a few operations at a time. This mismatch is the single biggest reason deep learning took off once GPUs became programmable, and it is the root of NVIDIA's role in AI.
| CPU | GPU | |
|---|---|---|
| Cores | Few (tens), complex | Thousands, simple, plus Tensor Cores |
| Optimised for | Low latency on one task | High throughput on many parallel tasks |
| Best at | Serial logic, branching, OS, databases, orchestration | Matrix maths, graphics, simulation, AI training and inference |
| Memory | Large DRAM capacity, lower bandwidth | HBM: smaller capacity, very high bandwidth |
| Role in an AI server | Runs the OS, feeds data, launches GPU work | Does the heavy numerical work |
04They work as a team
In a DGX system, the CPUs boot the OS, run the container runtime, load and preprocess data, and launch kernels on the GPUs. The GPUs crunch the numbers. A common bottleneck in real clusters is the CPU side (slow data loading) leaving GPUs idle, which is why technologies like GPUDirect Storage let data skip the CPU entirely.
05Where NPUs fit
Intel also describes the NPU (neural processing unit), a small accelerator built into client processors for efficient on-device inference, such as background blur in video calls on a laptop. NPUs target low-power inference on PCs; data center training and large-scale inference remain GPU territory.
✦Key terms: flip the cards
- CPU: few complex cores, latency-optimised, serial and control work.
- GPU: thousands of simple cores, throughput-optimised, parallel maths; Tensor Cores and HBM.
- In AI servers the CPU orchestrates and feeds; the GPU computes.
- GPUs do not replace CPUs; every GPU server still needs CPUs.
- Higher clock speed does not make a CPU better at matrix maths than a GPU; parallelism wins.
?Quick quiz
1. Which workload is best suited to a GPU?
Why: Massively parallel matrix maths is the GPU sweet spot.
2. What is a GPU optimised for?
Why: GPUs maximise parallel throughput.
3. Which GPU feature specifically accelerates neural-network matrix operations?
Why: Tensor Cores perform matrix multiply-accumulate efficiently.
4. In a GPU server, what does the CPU typically do?
Why: The CPU orchestrates and feeds the GPUs.
Score: 0 / 4
This lesson explains the reading in plain language and adds the exam context around it. Read the original too: it is short, and seeing the vendor wording helps on exam day.