代码拉取完成,页面将自动刷新
Changelog items missing
xrt::run::wait2()
API was added to throw an exception when command completes abnormally (state different from ERT_CMD_STATE_COMPLETED).xrt::xclbin::get_interface_uuid()
API. The interface uuid is available only for xclbins that are built with 2023.1 Vitis.xrt::hw_context
to support loading of multiple xclbins (PL and PS). This API is experimental in this release.xrt::xclbin
and xrt::ip
have ABI breaking changes in 2.14.x per PR #6723. Code that uses these APIs must be recompiled.xrt::run::set_arg
and xrt::mailbox::set_arg
both supporting setting arguments by name in addition to by index.xrt::queue
APIs for asynchronous execution of synchronous operations.xrt::system
and xrt::message
APIs.boost::any
to std::any
in public APIs. Requires compiling host code with -std=c++17.xbutil/xbmgmt
xball
helper script to execute a common set of utility commands (e.g., xbutil
& xbmgmt
) across a filtered set of devices. More information can be found using --help
or in the XRT documents.--device
or -d
is specified and there is only one device installed, it will be automatically selected and used.xbutil configure
root level command introduced. Added host_mem
and p2p
as commands to configure.--force
option support for all operations.xbutil validate
now supports alternative platform validation directories.xclbin
PARTITION_METADATA
schema updated to support pcie bars.ACCEL_DEADLOCK_DETECTOR
enum for Debug IP Layout.XRT native APIs
xrt::aie
and xrt::graph
moved from experimental to mature and are now available from include/xrt/
folder.AP_CTRL_NONE
kernel. Use xrt::ip
to control custom IPs.include/experimental/xrt_mailbox.h
. See tests/xrt/mailbox
for an example.xrt::run::abort()
. If a run is aborted without kernel support for sw reset, the board itself will require a reset.xrt::run::wait
where specified timeout was ignored.xrt::device::get_info
parameters and guaranteed format of return type with new versions of XRT.Profiling
Other changes
:
separator in regex when matching the kernel name specified to clCreateKernel
and xrt::kernel
. Without the separator, matching would fail when a specified kernel name is a substring of another kernel name. The default regex is now "(kernelname):(.*)"
.RHEL 8.4
and buntu 20.04.2
OS.RHEL/Centos 7.6
, 7.7
& Ubuntu 16.04
.include/xrt/
folder. See tests/xrt/22_verify/22_verify/main.cpp
for an example.std::system_error
exceptions with POSIX error code./sys/kernel/debug/xclmgmt/...
and /sys/kernel/debug/xocl/...
tests/python/22_verify/22_verify.py
for an example.xrt::xclbin
experimental C++ API for xclbin introspection at run-time.xrt::ip
experimental C++ API for register and user interrupt access of custom IPs.xrt_aie.h
and graph level APIs in xrt_graph.h
. AIE APIs are moved to libxrt_coreutil.so
from libxrt_core.so
.xrt_kernel.h
. Please see tests/xrt/22_verify/main.cpp
and tests/xrt/02_simple/main.cpp
for examples. The APIs are also accessible from python. Please see tests/python/22_verify/22_verify.py
and tests/python/02_simple/main.py
for examples.xrt_aie.h
.xbutil --new
.xclResetDevice()
has been marked as deprecated in this release and will be removed in a future release. Please use xbutil reset to reset device.xclUpgradeFirmware()
, xclUpgradeFirmware2()
and xclUpgradeFirmwareXSpi()
have been marked as deprecated in this release and will be removed in a future release. Please use xbmgmt utility to flash device.xclBootFPGA()
, xclRemoveAndScanFPGA()
and xclRegisterInterruptNotify()
have been marked as deprecated in this release and will be removed in a future release. These functionalities are no longer supported.xclLockDevice()
and xclUnlockDevice()
have been marked as deprecated in this release and will be removed in a future release. These functionalities are no longer supported.xrtdeps.sh
script used to install required dependencies for building XRT is trying to install no longer supported devtoolset-6
. In order to build XRT on CentOS or RHEL, a later devtoolset version should be installed, for example devtoolset-9
.xclUnmapBO()
was added to match xclMapBO()
. This new API should be called when unmapping addresses returned by xclMapB()
. On Linux the API ends up calling POSIX munmap()
but on Windows the implementation is different.xclRead()
and xclWrite()
have been marked as deprecated in this release and will be removed in a future release. For direct register access please use replacement APIs xclRegRead()
and xclRegWrite()
which are more secure and multi-process aware.xclCopyBO()
XRT API or clEnqueueCopyBuffers()
OCL API. Note that the same APIs can also be used to copy buffers between two devices using PCIe peer-to-peer transfer.xbmgmt
utility which is geared towards system adminstrators. xbutil
continues to be end-user facing utility.XCL_BO_FLAGS_DEV_ONLY
in flags field of xclAllocBO() or CL_MEM_HOST_NO_ACCESS
in flags field of OCL API.xbutil reset
which resolves system crash observed on some servers.xclbinutil --private-key /var/lib/shim-signed/mok/MOK.priv --certificate /var/lib/shim-signed/mok/MOK.der --input a.xclbin --output signed.xclbin
xbutil reset
uses PCIe fundamental reset effectively reloading the platform from PROM. Note on x86_64 xbutil reset
continues to use PCIe warm reset which just resets the shell and the dynamic region without reloading the platform from PROM.XCL_MEM_EXT_P2P_BUFFER
flag to clCreateBuffer()
API. Peer PCIe devices like NVMe can directly DMA from/to P2P buffers. P2P transfers between two Alveo™ boards can be triggered through standard clEnqueueCopyBuffers()
API.clEnqueueCopyBuffer()
xrt.ini
configuration file and if not found looks for legacy sdaccel.ini configuration file. If not found in usual search directories the files are now also searched in working directory.IP_LAYOUT
section of xclbin.clCreateKernel
is enhanced to accept annotated CU name(s) to fetch asymmetrical compute units (If all the CUs of a kernel have exact same port maps or port connections they are symmetrical compute units, otherwise CUs are asymmetrical) and streaming compute units.clSetKernelArg
before any enqueue operation on buffer-Wl,-rpath-link,$(XILINX_XRT)/lib
in the linker line. Host applications linking with ICD loader, libOpenCL.so do not need to change.xbutil top
now reports live CU usage metric.xclbincat
and xclbinsplit
are deprecated by xclbinutil
. These deprecated tools are currently scheduled to be obsoleted in the next release.xrt.h
in place of xclhal2.h
. The latter is still around for backwards compatibility but hash includes xrt.h for all definitions. A new file xrt-next.h
has been added for experimental features.xbutil dump
to generate JSON output on stdout.xbutil flash -a
PROM corruption issue with multiple Alveo boards.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。