AMD Opens Driver Code for NPU Based on XDNA Architecture

AMD has recently made the initial texts of the driver for cards based on the xDna architecture publicly available. This driver aims to accelerate computing tasks related to machine learning and signal processing, specifically targeting the NPU (Neural Processing Unit) based on the xDNA architecture found in the 7040 and 8040 series of AMD Ryzen processors, AMD Alveo V70, and SOC AMD Versal accelerators. The driver’s code is written in C++ and is openly accessible under the gplv2 license.

The published code has been integrated into the Linux kernel as amdxdna.ko and the Runtime library, which includes the XRT interface for seamless interaction between hardware accelerators and applications. To utilize the driver, developers must have Linux 6.7 core with Immu SVA support.

/Reports, release notes, official announcements.