AMD XDNA

Also known as: Ryzen AI NPU

On this page 7

AMD XDNA is the neural processing unit (NPU) architecture that AMD integrates into its Ryzen AI client processors, often called the Ryzen AI NPU. In the AI hardware landscape, it is a spatial dataflow accelerator derived from the AI Engine technology that AMD acquired with Xilinx, and it runs neural network inference at low power next to the CPU and integrated GPU on the same chip.

XDNA matters because it moves sustained AI workloads, such as background blur, speech enhancement and small language models, off the CPU and GPU. That shift frees general-purpose cores and extends battery life, which is the main reason PC makers adopted NPUs from 2023 onward.

How the XDNA dataflow array works

XDNA is built as a two-dimensional array of tiles connected by a programmable interconnect rather than as a single large core with caches. Each compute tile contains a VLIW vector processor optimized for matrix and convolution operations, together with its own local data memory, so data stays close to the arithmetic units instead of traveling through a cache hierarchy.

Above the bottom row sit memory tiles that buffer activations and weights, and interface tiles that connect the array to system memory. Data streams between neighboring tiles through deterministic, compiler-scheduled transfers, which is the essence of a dataflow architecture: the compiler maps layers of a model onto groups of tiles and fixes the data movement ahead of time. This avoids much of the power cost of fetching operands from shared caches.

The table below summarizes the building blocks and their roles.

ComponentRoleWhy it matters
Compute tileRuns vector and matrix kernelsDelivers most of the TOPS
Local data memoryHolds operands next to each coreCuts energy spent on data movement
Memory tileBuffers tensors shared by columnsReduces trips to system DRAM
Interface tileConnects the array to the SoC fabricStreams data from shared LPDDR memory
Programmable interconnectRoutes streams between tilesEnables compiler-defined dataflow
Main building blocks of an XDNA array

XDNA generations and performance

AMD has shipped two main generations of the architecture in client processors. The figures below are peak vendor ratings at INT8 precision; real throughput depends on model shape, memory bandwidth and software maturity, so they are best read as upper bounds rather than sustained performance.

GenerationExample processor familiesPeak NPU ratingNotable change
XDNA (first generation)Ryzen 7040 and Ryzen 8040 seriesAbout 10 to 16 TOPSFirst x86 laptop chips with an integrated NPU
XDNA 2Ryzen AI 300 and Ryzen AI Max seriesRoughly 50 TOPS or moreMore tiles, Block FP16 support, higher efficiency
XDNA generations in Ryzen processors

The jump with XDNA 2 was driven by the Microsoft Copilot+ PC requirement of more than 40 TOPS for on-device AI features. Beyond raw tile count, XDNA 2 added Block FP16, a block floating point format in which a group of values shares one exponent, which keeps accuracy close to 16-bit floating point while approaching 8-bit throughput. This places the format in the same family of ideas as microscaling formats used in data-center chips.

How XDNA compares with other AI processors

An NPU such as XDNA is designed for performance per watt in sustained inference, not for peak throughput or for training. The comparison below places it next to the other engines found in a PC and next to a competing mobile NPU.

EngineStrengthWeaknessTypical workload
AMD XDNA NPUHigh TOPS per watt, always-on tasksNarrower operator supportVideo effects, transcription, small models
Integrated GPUFlexible, mature frameworksHigher power for continuous tasksImage generation, larger models
CPU coresUniversal compatibilityLow efficiency on matrix mathFallback and control logic
Qualcomm Hexagon NPUMature mobile ecosystemArm platform onlyCopilot+ features on Arm laptops
Data-center GPUMassive throughput and memory bandwidthHundreds of watts per chipTraining and large-scale serving
XDNA compared with other client AI engines

Unlike a systolic array with a fixed grid of multiply-accumulate cells, XDNA uses programmable cores per tile, which allows different layers to run with different kernels. The trade-off is that performance depends heavily on the compiler and kernel libraries.

Software stack and deployment

Developers reach XDNA through the Ryzen AI Software stack, which compiles models into a form the tile array can execute. The common path exports a model to ONNX, quantizes it to INT8 or Block FP16, and runs it with ONNX Runtime using an AMD execution provider; Windows applications can also reach the NPU through system APIs.

  • Model preparation: quantization tools convert floating point models to NPU-friendly formats with calibration data.
  • Operator coverage: unsupported operators fall back to the CPU, so partitioning affects latency.
  • Hybrid execution: for language models, prompt processing may run on the NPU while token generation uses the GPU or the NPU, depending on the release.
  • Linux support: an open-source amdxdna kernel driver entered the mainline Linux kernel in early 2025.

Limitations and common misconceptions

The most frequent misunderstanding is to treat TOPS ratings as comparable benchmarks. A TOPS figure counts peak operations at one precision and ignores utilization, memory limits and software overhead, so real application speed can differ widely between NPUs with similar ratings.

MisconceptionRealityPractical consequence
More TOPS means faster appsUtilization and memory bandwidth dominateBenchmark the actual model
The NPU can train modelsXDNA targets inferenceTrain on GPUs, deploy to the NPU
Any model runs unchangedQuantization and supported operators are requiredPlan a conversion step
The NPU replaces the GPUEach engine suits different workloadsSplit work across engines
Common misconceptions about XDNA

Another hard constraint is shared system memory: XDNA reads weights from the same LPDDR memory as the CPU and GPU, so models of several billion parameters are often bandwidth-bound during token generation regardless of the NPU rating.

Understanding it simply

AMD XDNA is a small, specialized engine inside many AMD laptop and desktop chips. Its job is AI tasks. These tasks include blurring a video background or turning speech into text.

The main processor can do this work too, but it uses more power. XDNA does it with far less energy. It works like a dedicated assembly line next to a general workshop. The line does only a few jobs, but it does them quickly and cheaply. The result is longer battery life and a cooler laptop during AI features.

Applied in practice

A mid-sized consulting firm equips its staff with laptops based on Ryzen AI 300 processors. Employees spend several hours a day in video calls with background blur, eye contact correction and noise suppression enabled. On older laptops, these effects ran on the CPU and GPU, and fans spun up during long meetings.

With the effects routed to the XDNA 2 NPU, the IT department measures noticeably lower package power during calls and about an hour of additional battery life in a typical working day, although the exact gain varies by model and settings. The firm also tests an on-device transcription tool on the NPU, which keeps meeting audio on the laptop instead of a cloud service and helps satisfy client confidentiality requirements.