- Download the Code
These data_compression benchmarks can be downloaded from the vitis libraries main
branch.
git clone https://github.com/Xilinx/Vitis_Libraries.git cd Vitis_Libraries git checkout master cd data_compression
- Set Up the Environment
Specify the corresponding Vitis, XRT, and path to the platform repository by running following commands.
source <Vitis_Intstalled_Path>/installs/lin64/Vitis/2022.2/settings64.sh source <Vitis_Installed_Path>/xbb/xrt/packages/setup.sh export PLATFORM_REPO_PATHS=/opt/xilinx/platforms export LD_LIBRARY_PATH=$XILINX_VITIS/lib/lnx64.o/Default/:$LD_LIBRARY_PATH
- Build Instructions
Execute the following commands to compile and test run the applications.
$ make run TARGET=hw hw: run on actual hardware
By default, the target device is set as the Alveo U200. To target a different device, use the PLATFORM
argument. For example:
make run TARGET=hw PLATFORM=<new_device.xpfm>
Note
Build instructions explained in this section are common for all the applications to run on actual hardware. The generated executable names might differ.