Xilinx Runtime (XRT) 库旨在促进应用代码与加速器之间的通信,此处所指应用代码在嵌入式 ARM 或 x86 主机上运行,加速器则部署在基于 PCIe 的 AMD 加速器卡、基于 MPSoC 的嵌入式平台或自适应 SoC 的可重配置部分上。
XRT 是开源工程。其源代码托管于 https://github.com/Xilinx/xrt。
其文档托管于 https://xilinx.github.io/XRT/。
<strong>操作系统支持:</strong>
<table border="1" data-aura-rendered-by="57:219;a">
<thead>
<tr>
<th colspan="1" rowspan="1" bgcolor="#6699FF">操作系统</th>
<th colspan="1" rowspan="1" bgcolor="#6699FF">架构</th>
<th colspan="1" rowspan="1" bgcolor="#6699FF">受支持的版本</th>
<th colspan="1" rowspan="1" bgcolor="#6699FF">内核版本</th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan="1" colspan="1">RHEL/CentOS</th>
<td rowspan="1" colspan="1">x86_64</td>
<td rowspan="1" colspan="1">7.9</td>
<td rowspan="1" colspan="1">3.10.0-1160</td>
</tr>
<tr>
<th rowspan="1" colspan="1">RHEL</th>
<td rowspan="1" colspan="1">x86_64</td>
<td rowspan="1" colspan="1">8.5</td>
<td rowspan="1" colspan="1">4.18.0-348</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">8.6</td>
<td rowspan="1" colspan="1">4.18.0-372</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">8.7</td>
<td rowspan="1" colspan="1">4.18.0-425.3.1</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">8.8</td>
<td rowspan="1" colspan="1">4.18.0-477.10.1</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">9.0</td>
<td rowspan="1" colspan="1">5.14.0-70.13.1</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">9.1</td>
<td rowspan="1" colspan="1">5.14.0-162.6.1</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">9.2</td>
<td rowspan="1" colspan="1">5.14.0-284.11.1</td>
</tr>
<tr>
<th rowspan="1" colspan="1">Ubuntu</th>
<td rowspan="1" colspan="1">x86_64</td>
<td rowspan="1" colspan="1">20.04.4 LTS</td>
<td rowspan="1" colspan="1">5.4.0-131-generic</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">20.04.5 LTS</td>
<td rowspan="1" colspan="1">5.4.0-148-generic</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">20.04.6 LTS</td>
<td rowspan="1" colspan="1">5.4.0-162-generic</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">22.04 LTS</td>
<td rowspan="1" colspan="1">5.15.0-41-generic</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">22.04.1 LTS</td>
<td rowspan="1" colspan="1">5.15.0-50-generic</td>
</tr>
<tr>
<th rowspan="1" colspan="1"> </th>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">22.04.2 LTS</td>
<td rowspan="1" colspan="1">5.15.0-67-generic</td>
</tr>
<tr>
<th rowspan="1" colspan="1">PetaLinux</th>
<td rowspan="1" colspan="1">aarch64 和 cortexa9</td>
<td rowspan="1" colspan="1">2023.2</td>
<td rowspan="1" colspan="1">5.15</td>
</tr>
</tbody>
</table>
RHEL 8.8、RHEL 9.2、Ubuntu 20.04.6 LTS 和 Ubuntu 22.04.2。在此版本中新添加了 LTS。不再支持 RHEL 8.3、RHEL 8.4、18.04.4 18.04.5 LTS、18.04.6 LTS、Ubuntu 20.04.2 LTS 和 Ubuntu 20.04.3 LTS。
注释 1:所有受支持的操作系统都经过常规访问版本 (GA) 的测试。不支持 Ubuntu Hardware Enhancement (HWE)。
注释 2:Ubuntu 18.04.4 和更高桌面版本默认启用 HWE。服务器版本默认不启用 HWE。请访问 Ubuntu 网站获取版本详细信息。
注释 3:Ubuntu <a target="_blank" href="https://ubuntu.com/livepatch">Live Patch Service</a> 可能会自动应用内核补丁。XRT 未针对 Live Patch 进行测试。请禁用内核自动升级,防止出现不兼容问题。
注释 4:安装期间,XRT 需内核头文件 (kernel-header) 包。由于 CentOS 仅对部分版本提供内核头文件包,因此 XRT 仅支持提供内核头文件包的 CentOS 操作系统版本。
版本说明:https://docs.xilinx.com/r/2023.2-English/ug1451-xrt-release-notes
来源:AMD Xilinx开发者社区