Overview of AMD NPU and XDNA Architecture
mainThe AMD NPU (Neural Processing Unit) is a multi-user AI inference accelerator integrated into AMD client APUs, designed for efficient execution of Machine Learning applications like CNNs and LLMs. It is managed by the amdxdna driver and is based on the AMD XDNA Architecture.
Key hardware components include:
- AMD XDNA Array: A 2D array of compute and memory tiles. Compute tiles contain VLIW processors, while memory tiles act as L2 memory.
- Microcontroller: Runs NPU Firmware responsible for command processing, partition setup, configuration, and workload orchestration.
- Resource Solver: A component of the
amdxdnadriver that manages the allocation of the 2D array among various workloads using heuristics and workload metadata.