XRT

Xilinx活跃维护

Xilinx 官方运行时库,让 AIE 和 FPGA 加速卡在 Linux 上跑起来,提供驱动、用户态 API 和编译工具链,方便把 AI 负载卸载到 Versal、Ryzen AI 等硬件。

Run Time for AIE and FPGA based platforms

202610.2.23.244发布于 2026-10-12 17:26 UTC694star552fork同步于 2026-11-10 11:56 UTC

怎么上手

由 README 提炼,执行前请确认
README 未给出安装命令,仅链接到构建说明文档:https://xilinx.github.io/XRT/master/html/build.html
硬件要求按 README 说明

README 未说明具体显存或内存要求;支持 AMD Ryzen、Ryzen Embedded、Versal Adaptive SoC、Alveo 加速卡、Zynq UltraScale+ MPSoC 平台,宿主 CPU 为 x86_64 或 aarch64。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

AMD NPU 与 FPGA 的抽象运行时接口,统一访问 Ryzen、Versal、Alveo 等平台

Xilinx 官方运行时库,让 AIE 和 FPGA 加速卡在 Linux 上跑起来,提供驱动、用户态 API 和编译工具链,方便把 AI 负载卸载到 Versal、Ryzen AI 等硬件。

核心能力

  • 提供用户态与内核驱动组合的抽象运行时接口
  • 统一访问 AMD NPU 与 FPGA 设备
  • 覆盖 Ryzen、Versal、Alveo、Zynq UltraScale+ 等平台
  • 附带 xrt-smi 命令行工具用于检查、配置和验证设备
  • 支持 Linux 与 Windows,宿主为 x86_64 或 aarch64

容易踩的坑

需按官方 Build Instructions 文档自行编译,README 未提供一键安装命令;Linux 依赖 accel 驱动模型、Windows 依赖 MCDM 驱动模型,需确认平台驱动支持;具体系统要求需查阅 system_requirements 页面而非 README 正文

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本202610.2.23.244
  1. 202610.2.23.244Official 2026.1 release最新正式版2026-10-12 · 2026-10-12 17:26 UTC
  2. 2.25.0pre-release2026-08-18 · 2026-08-18 18:05 UTC
    查看更新说明

    Summary

    This release is for upstreaming to Debian and Fedora.

    The xrt-2.25.0.tar.gz contains all sources expanded with submodules used by XRT and xdna-driver. The tar ball is filtered for unused content.

    What's Changed Compared to 2.21.75

  3. 202610.2.23.0_Canonical2026-04-16 · 2026-04-16 08:30 UTC

    这个版本没有写更新说明。

  4. 2.21.752026-02-10 · 2026-02-10 20:16 UTC
    查看更新说明

    This is the official XRT release for Ubuntu 26.04 Debian salsa.

    The archive 2.21.75.tar.gz is created from XRT tag 2.21.75 and xdna-driver tag 2.21.75 and populated with expanded submodules and binary files removed. The flow to create the archive is automated in a separate mono repo (https://github.com/stsoe/XRT-DEBIAN/tree/2.21.75) from where the source archive is copied and attached to this XRT release.

  5. 2.21.70pre-release2025-12-17 · 2025-12-17 05:38 UTC
    查看更新说明

    This is a pre-release created for Debian salsa.

    The archive 2.21.70.tar.gz is created from XRT tag 2.21.70 and xdna-driver tag 2.21.70 and populated with expanded submodules and binary files removed. From the release tags, the archive content was cleaned up per lintian warnings:

    % ls
    CMakeLists.txt xrt/ xdna/
    
    % git submodule update --recursive
    
    # xdna gets XRT from xrt/ 
    % /bin/rm -rf xdna/xdna-driver/xrt
    
    # aiebu gets ELFIO and aie-rt from xrt/
    % /bin/rm -rf xrt/XRT/src/runtime_src/core/common/aiebu/src/cpp/ELFIO
    % /bin/rm -rf xrt/XRT/src/runtime_src/core/common/aiebu/lib/aie-rt
    
    # remove binaries
    % find . -type f -name .git -exec /bin/rm -rf {} \;
    % find . -type d -name elf_examples -exec /bin/rm -rf {} \;
    % find . -type f -name usertest -exec /bin/rm -rf {} \;
    % find . -type f -name \*.elf -exec /bin/rm {} \;
    % /bin/rm -rf xdna/xdna-driver/tools/bins
    

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    .. SPDX-License-Identifier: Apache-2.0 Copyright (C) 2019-2022 Xilinx, Inc. All rights reserved. Copyright (C) 2022-2026 Advanced Micro Devices, Inc. All rights reserved.

    ================ FleXible RunTime

    .. image:: https://scan.coverity.com/projects/17781/badge.svg :target: https://scan.coverity.com/projects/xilinx-xrt-5f9a8a18-9d52-4cb2-b2ac-2d8d1b59477f


    .. image:: src/runtime_src/doc/toc/XRT-Layers.svg :align: center

    FleXible RunTime (XRT) is implemented as a combination of user-space and kernel driver components. It provides an abstracted runtime software interface for AMD NPUs and AMD FPGAs, enabling seamless access across AMD Ryzen™ <https://www.amd.com/en/products/processors/desktops/ryzen.html>_ client, AMD Ryzen™ Embedded <https://www.amd.com/en/products/embedded/ryzen.html>_ , AMD Versal™ Adaptive SoCs <https://www.amd.com/en/products/adaptive-socs-and-fpgas/versal.html>_ , AMD Alveo™ Adaptable Accelerator Cards <https://www.amd.com/en/products/accelerators/alveo.html>_ , and AMD Zynq™ UltraScale+™ MPSoCs <https://www.amd.com/en/products/adaptive-socs-and-fpgas/soc/zynq-ultrascale-plus-mpsoc.html>_ . XRT runs on both Linux and Windows, hosted on x86_64 or aarch64 host CPU architectures. XRT uses Linux accel driver model on Linux and Windows MCDM driver model on Windows. XRT ships with a command line tool, xrt-smi, which may be used to examine, configure and validate NPU and FPGA devices.

    XRT API header files <https://github.com/Xilinx/XRT/tree/master/src/runtime_src/core/include/xrt>_


    System Requirements <https://xilinx.github.io/XRT/master/html/system_requirements.html>_


    Build Instructions <https://xilinx.github.io/XRT/master/html/build.html>_


    Documentation xilinx.github.io/XRT <https://xilinx.github.io/XRT>_