Site icon DebugPoint NEWS

AMD Open Sources Drivers for XDNA-Based NPUs

AMD Open Sources Drivers for XDNA-Based NPUs, Boosting ML and Signal Processing Performance

AMD has just made a significant move in high-performance computing by open-sourcing the drivers for its XDNA architecture-based Neural Processing Units (NPUs). This means developers now have unprecedented access to the inner workings of these powerful accelerators, paving the way for faster machine learning (ML) and signal processing applications.

NPUs are specialized processors designed to handle the computationally intensive workloads associated with ML and signal processing tasks. Unlike traditional CPUs, which are adept at handling diverse tasks, NPUs excel at specific operations like matrix multiplication and convolution, essential for tasks like image and speech recognition, natural language processing, and scientific computing.

Now, here’s where AMD’s XDNA architecture comes in. It’s the underlying technology powering NPUs found in their 7040 and 8040 series Ryzen processors, Alveo V70 accelerators, and Versal SoCs. By open-sourcing the drivers for these NPUs, AMD is essentially giving power to the developers for their computing needs, including Linux.

AMD Ryzen Pro (image credit: AMD)

A few benefits of being open-source.

The open-sourced code includes two key components:

It’s important to note that the open-source drivers require a Linux 6.7 kernel with IOMMU SVA (Shared Virtual Addressing) support. This ensures efficient memory management and resource sharing between the CPU and the NPU.

There is a detailed guide on properly compiling the Linux 6.7 mainline Kernel to use this driver in Ubuntu 22.04. You can refer to the build and usage instructions in the GitHub repo.

Via GitHub

Recent articles from DebugPoint.com

Exit mobile version