How is a GPU different from a CPU?
NVIDIA's CUDA guide explains that a CPU is designed to run a serial sequence of operations as fast as possible and can execute only a few tens of threads in parallel. A GPU is built to run thousands of threads at once, giving up single-thread speed in exchange for much greater total throughput [1]. To do that, a GPU devotes more of its transistors to data processing units, while a CPU spends more on caching and flow control [1]. At a similar price and power level, a GPU offers much higher instruction throughput and memory bandwidth than a CPU [1].
Why do GPUs matter so much for AI?
GPUs were first designed for one job: controlling what appears on a display [2]. NVIDIA describes how the GPU began as a special-purpose processor for 3D graphics and later became programmable for general computing [1].
Training and running an AI model means repeating the same heavy calculations across large datasets. That is why AWS describes modern GPUs as central to AI workloads [2]. The CUDA guide likewise names generative AI, such as diffusion models and large language models, among the workloads that rely on GPU programmability [1].
Where else are GPUs used?
Gaming, video editing and scientific simulation all depend on GPUs [2]. NVIDIA also lists fluid dynamics and databases among the fields that make use of them [1].