Compute Architecture

NPU

Specialized tensor accelerators for low-power, continuous machine learning inference and client AI workloads.

Domain CategoryCompute Architecture
Evaluation FocusBenchmarking & Verification
Related Technologies5 Areas

1. What an NPU Actually Does: Dedicated Matrix Arithmetic

The CPU is a few brilliant generalists. The GPU is thousands of disciplined workers. The NPU is something different in kind: a circuit that refuses to be general at all. It does one mathematical operation — the multiply-accumulate at the heart of every neural network — and it does that operation, and almost nothing else, with obsessive single-mindedness. That refusal to be general is its entire value: circuits specialized for matrix math can run neural networks at a fraction of the power a CPU or GPU would burn for the same work.

This guide explains what an NPU physically is, where its TOPS numbers come from (and why they mislead), how quantization makes it possible, why memory — not compute — is usually the real constraint, and how to think honestly about on-device AI in mini PCs, single-board computers, and phones.

Strip away the marketing and a neural network is, at runtime, mostly one thing: layers of matrix multiplications followed by small nonlinear operations. An "inference" — running an already-trained model on your data — is a long, regular, predictable sequence of them. Nothing about that resembles a web browser or a compiler. It is dense arithmetic on known shapes, repeated billions of times.

An NPU is silicon built exclusively for that shape:

  • MAC arrays. The core is a massive grid of multiply-accumulate units (MACs): circuits that compute a×b + c in dedicated logic, thousands to hundreds of thousands in parallel, without instruction fetch overhead per operation. There are no complex branch predictors, no deep out-of-order machinery, no generality to pay for.
  • Fixed dataflow. Data is streamed through the array in patterns set by compiler tools, not fetched by general-purpose code. The NPU executes a compiled plan, closer to an ASIC than to a programmable processor.
  • Tiny, local, power-first. Because every transistor has exactly one job, the energy per operation drops dramatically. This is the NPU's founding promise: not the highest performance, but the most inference per watt.

One more framing before anatomy. Training — the factory that builds models — remains the province of datacenter GPUs; the NPU is an inference engine, a consumer of finished models. That distinction shapes everything a buyer meets: the NPU market is about running networks, never about making them. The clarifying sentence for NPU literacy, in the family of our CPU and GPU lines: an NPU is not a smaller GPU; it is a calculator tuned to one equation — and neural networks happen to be made of that equation. Its genius is refusing everything else.

3. Anatomy of a Modern NPU

Vendor names differ (Neural Engine, Hexagon, XDNA, ETHOS, npu-one-thing-or-another); the architecture underneath is shared:

  • The MAC array: the arithmetic engine. Its raw size, times its clock, times two (multiply and add are counted separately — remember this for later), gives the headline TOPS figure.
  • On-chip scratchpad memory: a modest pool of fast SRAM holding weights and activations between the array and main memory. Its size determines how much of the model lives on-die before paying the bandwidth bill.
  • DMA engines: the movers. Neural inference is an exercise in choreographed data loading; DMA units keep the MAC array from starving.
  • Activation/special-function units: small blocks for the nonlinear glue (ReLU-ish operations, normalization, lookups) — never the star, always necessary.
  • A compiler toolchain: software that takes a trained network and lays it onto the array's dataflow a schedule at a time. This toolchain — not the hardware — is where NPU experiences are actually won or lost.

The TOPS Number, Audited: Latency, Throughput and Reality

NPU marketing is one number: TOPS — tera-operations per second. It deserves an auditor.

First, the arithmetic: MACs counted twice, at the peak clock, at full utilization, usually at 8-bit integer precision. It is a theoretical ceiling that no sustained real-world workload will ever reach. Utilization on real models lands well below — data movement, memory stalls, and model structure all shave the "effective" fraction. An NPU's honestly measured throughput on a specific model is routinely a modest fraction of its printed TOPS.

Second, the comparison trap: TOPS are compared across vendors, precisions, and even across NPU/GPU/CPU boundaries as if they were one currency. They are not. An INT8 TOP and an INT4 TOP are different products; a sparse-accelerated TOP assumes a model structure you may not be running; a GPU's "AI TOPS" and an NPU's TOPS are born from different architectures and different accounting conventions.

Third, the omission that matters most: TOPS measures compute, but inference is usually limited by memory bandwidth. A big MAC array fed by a narrow memory bus is a factory with a tiny loading dock. When we publish measurements, we will quote sustained operations per watt on named models at stated precisions — and bandwidth alongside — not brochure TOPS. Until then: every TOPS figure you read at RIGLYX is claimed, not measured.

A Field History of the NPU in One Page

  • 2016–2017: Apple ships a Neural Engine in the A11; Huawei and others follow with mobile NPU blocks. Phone-class on-device inference becomes a shipping product category rather than a research demo.
  • 2018–2021: Mobile NPUs spread across flagships; Qualcomm's Hexagon graduates from DSP to a tensor-accelerated architecture; Arm launches Ethos. Digital assistants and computational photography become the anchor workloads.
  • 2022–2023: Intel adds a dedicated NPU (in a chipset before the die), then ships the first NPU on a mainstream x86 laptop die; AMD follows. "AI PC" marketing begins, and with it the TOPS arms race and the sober gap between printed and lived performance.
  • 2024 onward: Local LLM interest pulls NPUs into mini PCs, single-board computers, and handhelds; NPU TOPS become a spec-sheet line item on devices that shipped no software a buyer can actually point at the silicon. The measurement-first era — this publication's job — begins here.

4. Why the NPU Needs the Rest of the Machine

An NPU never runs a model alone. Even with a perfect NPU, the parts around it decide what happens:

  • Memory capacity and bandwidth set the ceiling. Weights must be loaded before they can be multiplied; a 13-billion-parameter model that exceeds device memory does not run at any TOPS. On unified-memory systems, NPU bandwidth is a system specification, not an NPU one.
  • The CPU does the scaffolding. Preprocessing, tokenization, control flow, and the boring logic of gluing a product together remain CPU work; a strong CPU keeps the NPU fed.
  • The software decides what is reachable. A NPU with no supported runtime for your model is gym equipment nobody is allowed to touch. Which brings us to the real battleground: software.

The Software Landscape We All Pretend Is Simple

Hardware gets the TOPS; software gets the results, and the NPU ecosystem is honest evidence. A model must be converted (to ONNX or a vendor graph format), quantized (see below), compiled to the NPU's plan, and executed by a runtime the vendor supports on your OS. Every stage is a place where a promising model quietly fails. Vendor runtimes mature at different speeds on different platforms; edge devices built on mobile-derived silicon inherit mobile's toolchain strengths and its edge cases. RIGLYX discipline: hardware capability is a claim until we have run the specific model, on the specific device, through its specific stack — and measured.

5. Quantization: The Trick That Makes It All Affordable

The NPU's arithmetic is mostly integer, not floating point. Quantization converts a model's 32- or 16-bit floating point weights to 8-bit (INT8), 4-bit (INT4), or lower precision. The gains compound: a quarter (or less) of the memory for weights, a quarter of the bandwidth to move them, and integer MAC circuits that are much smaller and more efficient than their float equivalents — which is precisely why an NPU's INT8 TOPS dwarf its float TOPS, when it has any at all.

The cost is calibration: lower precision means quantization error, managed by per-layer calibration and by keeping sensitive operations in higher precision (a "hybrid" or mixed-quantization scheme). Modern quantized vision and audio models barely notice; generative language models are more sensitive, and aggressive sub-4-bit schemes trade quality for capacity in ways we treat as an explicit knob, not a free lunch. The honest takeaway: the quantization choice is the deployment decision — measured quality-versus-watt-versus-capacity, per model, per device.

6. Memory: The Honest Ceiling (Shared Math with GPU)

It is worth repeating the equation that rules both our GPU and NPU chapters, because NPU marketing buries it: a model of size W bytes, run fully in memory, must stream W of data per token/prediction cycle at minimum, plus activations. Token generation on an LLM is bandwidth-bound: generation throughput approaches bus bandwidth ÷ model size, regardless of TOPS. Prompt processing, being able to use parallel arithmetic across many tokens at once, can lean on compute — the one regime where the NPU's MAC array is the star. A practical rule: for generation, buy bandwidth; for prefill, buy compute; and read any NPU benchmark without naming both as unfinished.

7. NPU vs GPU vs CPU: Who Owns What

The honest division of labor, in one table's worth of prose:

  • CPU: small models, occasional inference, and all the logic around it. Best at "does it work?" — worst at "every millisecond, for hours."
  • GPU: batches, big models, throughput. Best when the work is large, bursty, and latency-tolerant — or when model/toolchain support has not reached the NPU yet, which is often. It is the fallback the marketing material never mentions.
  • NPU: continuous, constrained, energy-frugal inference on supported models. Best at "always on, always cheap," which is a product feature, not just a throughput feature.

The overlap is real and workload-dependent; a GPU at higher power can beat an NPU at its own game on burst workloads through sheer bandwidth. The NPU wins on sustained operations per watt — the number marketing specs do not print and honest reviews have to measure.

8. NPUs in the Compact World

The machines this publication serves adopt NPUs along three patterns:

  • Package-integrated: the mobile-derived SoCs in compact devices (an example we have covered at length: the VENTUNO Q's 40 dense-TOPS Hexagon NPU, part of a QCS8275) bring phone-class NPU integration to the desk. Promises continuous local AI on a ~25-watt envelope — a claim we intend to measure against named models when our bench is live.
  • Chipset-companion: a discrete NPU chip beside the CPU on desktop platforms, offering upgradeable AI without replacing the whole platform.
  • x86-integrated: NPUs inside mainstream laptop and mini PC processors, modest on TOPS, ambitious on orchestration, with software support that varies by vendor and OS generation.

What every pattern shares: the NPU is the system's promise, not a chip's. Memory, thermals, and software decide whether the printed TOPS ever touch a user.

9. Failure Modes and Aging

NPUs fail politely, which is itself a risk. A workload silently falls back to CPU and the feature "works," slowly, while the marketing claim quietly becomes false. Drivers and runtimes are the real wear surface: unsupported OS versions, deprecated formats, and vendor stack churn turn working products into unsupported payloads on different timelines. The NPU itself has a thermal contract like every other block: sustained-runs on undersized cooling throttle, and the sustained number falls with it.

10. The Near Future, Cautiously Stated

The direction of travel is legible, even where products are not: NPU TOPS per device will continue to climb, driven more by mobile silicon competition than by x86 roadmap announcements; larger-context models will shift pressure from compute to memory capacity and bandwidth, making the shared memory pool the real battleground; and software — runtimes, quantization tools, drivers — will remain the deciding layer between printed and lived capability. We will state specifics when silicon ships and resist calendar-shaped predictions otherwise.

11. The Buyer's Four Questions

  1. What are you actually running? Name the models. A device's NPU is a claim until the exact model — size, quantization, runtime — runs through the supported stack.
  2. Does the memory even fit the job? Capacity before anything: a model that does not fit does not run.
  3. Bandwidth or compute? Generation: bandwidth. Prefill and vision pre-processing: compute. Buy for the phase that dominates your use.
  4. What is the sustained number? Only sustained throughput per watt, over long runs, on named models, is a fact — everything on the spec sheet is an opening bid.

12. Key Terms, Briefly

  • NPU — a fixed-function accelerator built for neural network inference; refuses general-purpose work for efficiency.
  • MAC — multiply-accumulate, a×b+c; the atomic operation of neural networks; the unit whose count (×2, ×clock) yields TOPS.
  • TOPS — tera-operations per second; a peak-theoretical, precision-dependent marketing ceiling, not a measurement.
  • Quantization (INT8/INT4) — lower-precision weights/activations; shrinks memory, bandwidth, and energy at a calibration-managed quality cost.
  • Scratchpad — the NPU's on-chip SRAM; what the compiler choreographs to feed the MAC array.
  • Inference — running a trained model (vs. training it); the NPU's only meaningful job.
  • Runtime / toolchain — the software path from trained model to executed NPU plan; the actual product.
  • Tokens per second per watt — our preferred honesty metric; measured generation throughput against measured sustained power.
  • Fallback — silent migration of a "hardware-accelerated" workload to the CPU; the NPU ecosystem's most common quiet failure.

13. The NPU, in One Paragraph

The NPU is the machine's specialization: a grid of multiply-accumulate circuits that refuses to be general, so that one shape of work — neural network inference — can run continuously at a fraction of the energy a generalist would pay. Read its TOPS as ceilings, not capabilities; read its real limits in memory capacity and bandwidth, its real product in the software toolchain that decides what it can touch, and its real proof only in sustained, per-watt, named-model measurements that marketing never prints. Matched to a supported, memory-fitting, continuously-running workload, the NPU is the enabling organ of on-device AI; unmatched, it is the most confidently advertised number on a spec sheet that no one can point at anything.

Learning Series

Sources

Related Guides

Related Technologies