Full Byte Developer.

CPU vs GPU vs NPU vs TPU (one job each)

CPU, GPU, NPU, and TPU each have one job; pick by workload, not a fake winner chart.

Published here , updated · 4 sources

Four accelerators, four jobs. The CPU handles general control and serial-friendly work. The GPU delivers massive parallel throughput. An NPU is a neural processing unit for on-device AI. A TPU is Google's custom ASIC for large matrix ops in ML, with on-chip HBM [1][2][3][4]. Pick by workload. Skip winner charts that invent TFLOPS.

Quick start: name the four jobs out loud

Keep this order as a one-minute decision card:

  1. CPU: general control and serial-friendly work [1].
  2. GPU: massive parallel throughput (CUDA / ROCm class stacks) [3][4].
  3. NPU: on-device neural processing unit (Intel glossary) [1].
  4. TPU: Google ASIC for large matrix ops in ML, with on-chip HBM [2].
  5. Save rule: pick by workload (control, parallel training or inference, on-device AI, Google Cloud TPU jobs) [1][2].

Print the card locally so a teammate can paste it into a design doc:

bash
python3 - <<'PY'
jobs = [
    ("CPU", "general control / serial-friendly work"),
    ("GPU", "massive parallel throughput (CUDA/ROCm class)"),
    ("NPU", "on-device neural processing unit"),
    ("TPU", "Google ASIC for large ML matrix ops + on-chip HBM"),
]
for name, job in jobs:
    print(f"{name}: {job}")
print("pick by workload; no fake winner chart")
PY

Captured on this host:

text
CPU: general control / serial-friendly work
GPU: massive parallel throughput (CUDA/ROCm class)
NPU: on-device neural processing unit
TPU: Google ASIC for large ML matrix ops + on-chip HBM
pick by workload; no fake winner chart

That printout is a vocabulary aid. It is not a benchmark.

Draw the four shapes once

four jobs, four silicon shapes CPU few big cores control path [1] GPU many small cores throughput [3] NPU matrix engine on-device AI [1] TPU systolic + HBM Cloud TPU [2] workload chooses the box: control, parallel math, on-device neural, or Google matrix ASIC

One job per box: control on CPU, parallel throughput on GPU, on-device neural work on NPU, and Google Cloud matrix ASICs on TPU. Pick by the workload sentence and skip invented TFLOPS.

Keep each job on the vendor's wording

Intel's Form 10-K (fiscal year ended 2025-12-27) glossary defines NPU as neural processing unit [1]. The same filing states: "We pair our x86 CPUs with GPUs, IPUs, NPUs and other accelerators designed to optimize performance across a range of workloads" [1]. That pairing sentence is why laptop and server SKUs list more than one accelerator name. The CPU still owns general control; the others are specialized neighbors [1].

Nvidia's CUDA zone describes CUDA as NVIDIA's platform for accelerated computing and the foundation for GPU computing [3]. AMD's ROCm docs describe ROCm as the AMD open software stack for GPU-accelerated computing [4]. Those are stack names, not a ranking [3][4].

Google's Cloud TPU intro states: "Tensor Processing Units (TPUs) are Google's custom-developed, application-specific integrated circuits (ASICs) used to accelerate machine learning workloads" [2]. The same page says TPUs are designed for large matrix operations, include on-chip high-bandwidth memory (HBM), and require code compiled by the XLA compiler [2]. It also notes Cloud TPUs are optimized for specific workloads and that in some situations you might want GPUs or CPUs on Compute Engine instead [2]. Keep TPU framing on Google Cloud TPU jobs [2].

See what your host actually reports

A laptop or VM often exposes only the CPU side of this table. Still useful: confirm the control processor before you argue about accelerators you do not have.

bash
lscpu | rg -i 'Model name|CPU\(s\)|Architecture|Vendor'

Captured on this host. Sandbox capture on the review host; re-run on your box before you treat the numbers as a lab result.

text
Architecture:                            x86_64
CPU(s):                                  4
Vendor ID:                               GenuineIntel
Model name:                              Intel(R) Xeon(R) Processor

Four vCPUs of an Intel-branded Xeon under KVM. No GPU, NPU, or TPU appears in that lscpu slice. Absence on a guest does not erase the four-job vocabulary for cloud SKUs and laptop datasheets [1][2].

Map workload to box without inventing TFLOPS

Control-heavy services, compilers, and branchy business logic stay on the CPU story [1]. Dense matrix training and inference that already have a CUDA or ROCm path sit in the GPU story [3][4]. On-device neural features that OEMs label NPU follow Intel's glossary line for that acronym [1]. Large Google Cloud matrix jobs that compile through XLA sit on the TPU story, and Google itself says some jobs still want GPUs or CPUs instead [2].

For why GPUs fit matrix-shaped AI work, see how a GPU chews matrix math for AI. For how CUDA opened general compute, see from graphics chips to AI compute. For HBM beside a GPU die, see why AI GPUs use HBM. For teaching pipeline overlap on the CPU side, see pipelining and why CPUs speculate.

Mistakes that waste a hardware review

Crowning a single "best" accelerator with invented TFLOPS: drop the crown; keep the workload sentence [2][3].

Calling every AI chip a TPU: TPU is Google's ASIC name on the Cloud TPU docs; NPU is Intel's glossary term for neural processing unit [1][2].

Treating CUDA and ROCm as a morality contest: they are vendor stacks for GPU compute [3][4].

Reading an NPU badge as Cloud TPU access: different products, different compilers, different placement [1][2].

Skipping Google's own hedge that some workloads still want GPUs or CPUs on Compute Engine [2].

Depth: why "pair with accelerators" shows up in filings

Intel's 10-K pairing sentence is product strategy language: x86 CPUs plus GPUs, IPUs, NPUs, and other accelerators across workloads [1]. That is the opposite of a one-chip religion. Google's TPU page is similarly blunt about specialization and about when not to use a TPU [2]. A useful design-review prompt is: which part of the job is control, which part is dense math, and which compiler or runtime already owns that math path?

When the math path is GPU-shaped, read the matrix and HBM pages linked above before you rewrite a training budget. When the math path is Google Cloud TPU-shaped, start from the Cloud TPU intro and XLA requirement rather than from a laptop NPU badge [2]. Keep the four-job map on the whiteboard until the PR template lines are filled, so the review cannot slide back into a single winner chart.

Write the pick rule into the PR template

Paste four lines into the infrastructure or ML PR template so reviewers argue about the same nouns:

text
Control path owner: CPU (yes/no + why)
Dense math path: GPU / NPU / TPU / none
Compiler or runtime that owns the math: CUDA / ROCm / XLA / other
Why not the other three boxes:

Those lines force a workload sentence. They also stop a review from collapsing into "just buy more GPUs" when the bottleneck is still serial control code on the CPU [1]. If the answer is TPU, the next checklist item is "XLA compile path exists" per Google's intro [2]. If the answer is NPU, the next checklist item is "on-device feature, not Cloud TPU" [1][2].

Keep Intel's NPU glossary line, the x86 pairing wording, Google's Cloud TPU ASIC framing with on-chip HBM and XLA, and the named GPU stacks, and skip invented benchmarks [1][2][3][4].

Four unlabeled dark-mode compute engines in a row: a single amber sequential core, a wide teal lattice of many tiny cores, a compact ring of specialized tiles, and a dense systolic grid of cubes, shown as geometric solids on a navy grid with no typography or logos.
Four kinds of silicon, four jobs. Pick by the workload, not a winner chart.

Keep this guide

By Full Byte Developer

Filed under Dev explainers

Questions about this guide

What does Intel call an NPU?

Intel's Form 10-K glossary defines NPU as neural processing unit [1].

How does Intel describe CPUs next to other accelerators?

The same 10-K states Intel pairs its x86 CPUs with GPUs, IPUs, NPUs and other accelerators designed to optimize performance across a range of workloads [1].

What is a Google TPU in one line?

Google's Cloud TPU intro says TPUs are Google's custom-developed ASICs used to accelerate machine learning workloads, designed for large matrix operations, with on-chip HBM, and code compiled by XLA [2].

Is CUDA the only GPU stack?

No. Nvidia's CUDA zone names CUDA as NVIDIA's accelerated-computing platform, and AMD's ROCm docs describe ROCm as AMD's open GPU stack. Those are stack names, not a ranking [3][4].

Sources

Next in this stack