CPU
A central processor is a general-purpose universal computer. It can do everything but with limited parallelism.
CPU vs GPU
| CPU | GPU | |
|---|---|---|
| Cores | Several powerful | Thousands of simple |
| Task | General purpose | Parallel computations |
| In AI | Offload, data preparation | Main computations |
Role in AI
While the GPU computes neural networks, the CPU prepares data, manages processes, and takes on some layers during offload.