# GPU

- **Canonical URL:** https://getaimath.com/dictionary/gpu/
- **Topics:** [Hardware & AI Computing](https://getaimath.com/dictionary/category/hardware-and-ai-computing/)
- **Last updated:** 2026-11-25

## What is GPU?

**In one sentence:** A GPU, or Graphics Processing Unit, is a computer chip that can do thousands of simple calculations at the same time, which makes it perfect for AI.

GPUs were first built to draw video game graphics, which needs lots of math done in parallel. Neural networks need the same kind of math, mainly multiplying big grids of numbers. So GPUs became the main engine for training and running AI.

![AI Hardware (GPUs & VRAM): The Fast Chef & The Kitchen Door — Simple cartoon showing a Super-Fast Chef (GPU) who needs ingredients from a nearby Countertop Fridge (VRAM) via a wide double-door (Memory Bandwidth), instead of walking down a slow hallway to the Basement Pantry (System RAM).](https://getaimath.com/diagrams/hardware-and-ai-computing.png)
*Napkin Diagram (Hardware & AI Computing): A fast GPU chip is like a fast chef—if the memory doorway is too narrow, the chef just stands around waiting for ingredients.*

## What is an example of GPU?

NVIDIA's H100 and B200 are GPUs used in AI data centers.

## Why does GPU matter?

GPUs are the most important and most wanted hardware in AI today.

## GPU vs. NPU

GPUs deliver massive parallel power for training and fast LLM generation at high wattage, while NPUs are ultra-efficient low-watt accelerators built into phones and laptops for battery-friendly on-device AI.

| Dimension | GPU | [NPU](https://getaimath.com/dictionary/npu/) |
| --- | --- | --- |
| Power draw | 75 W to 700+ W per chip | Typically 2 W to 15 W inside a mobile SoC |
| Best for | Model training, heavy local LLMs, cloud serving | Always-on voice, background vision, small local models |
| Memory setup | Dedicated high-speed GDDR or HBM VRAM | Shares system unified RAM |

## GPU vs. TPU

GPUs are flexible parallel processors backed by the broad CUDA ecosystem, while Google's TPUs are purpose-built matrix systolic arrays wired into giant high-speed pods solely for neural network math.

| Dimension | GPU | [TPU](https://getaimath.com/dictionary/tpu/) |
| --- | --- | --- |
| Architecture | General SIMT cores + Tensor Cores | Custom systolic matrix-multiply arrays |
| Availability | Buy the hardware or rent from almost any cloud | Mainly rented through Google Cloud |
| Software stack | CUDA, PyTorch, vLLM, TensorRT-LLM | JAX, XLA, PyTorch/XLA |

## Related Concepts

- [CPU](https://getaimath.com/dictionary/cpu/): A CPU, or Central Processing Unit, is the main general-purpose chip in a computer that runs programs step by step.
- [NPU](https://getaimath.com/dictionary/npu/): An NPU, or Neural Processing Unit, is a chip or part of a chip designed specifically to run AI tasks efficiently.
- [TPU](https://getaimath.com/dictionary/tpu/): A TPU, or Tensor Processing Unit, is Google's custom chip designed to train and run neural networks.
- [Neural Engine](https://getaimath.com/dictionary/neural-engine/): The Neural Engine is Apple's built-in AI accelerator inside iPhone, iPad and Mac chips.
- [ASIC](https://getaimath.com/dictionary/asic/): An ASIC, or Application-Specific Integrated Circuit, is a chip custom-built for one particular job.
- [FPGA](https://getaimath.com/dictionary/fpga/): An FPGA, or Field-Programmable Gate Array, is a chip whose circuits can be reprogrammed after it is made.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/gpu/)
