Why CPUs Cannot Keep Up with AI Workloads
The question of why AI needs special hardware has a precise answer. At the heart of every neural network is one operation: matrix multiplication. A transformer layer performing attention computes Q×K^T, applies softmax, multiplies by V, and passes through a feed-forward network — with matrix operations constituting roughly 90% of total compute time.
CPUs are built for the opposite of what this requires. A CPU is optimised for branch prediction, cache coherency, and low-latency single-thread execution — capabilities that are irrelevant to dense matrix math. A modern Intel Xeon might run 64 threads. An NVIDIA H100 GPU runs 16,896 CUDA cores, plus tensor cores that perform entire 16×16 matrix multiply-accumulate operations per cycle. Same matrix multiplication, orders of magnitude faster on GPU:<