Executable Usage - 2024.2 English

Vitis Libraries

Release Date
2025-05-14
Version
2024.2 English
  • Work Directory (Step 1)

    The steps for library download and environment setup can be found in l2_vitis_database. For getting the design:

cd L1/benchmarks/compound_sort
  • Build Kernel (Step 2)

    Run the following make command to build your XCLBIN and host binary targeting a specific device. This process will take a long time, maybe couple of hours.

make run TARGET=hw PLATFORM=xilinx_u280_xdma_201920_3
  • Run Kernel (Step 3)

To get the benchmark results, run the following command.

./build_dir.hw.xilinx_u280_xdma_201920_3/host.exe -xclbin build_dir.hw.xilinx_u280_xdma_201920_3/SortKernel.xclbin

Compound Sort Input Arguments:

Usage: host.exe -xclbin
       -xclbin     compound sort binary

Note

Default arguments are set in the Makefile; you can use other platforms to build and run.

  • Example Output (Step 4)
-----------Sort Design---------------
key length is 131072
[INFO]Running in hw mode
Found Platform
Platform Name: Xilinx
Found Device=xilinx_u280_xdma_201920_3
INFO: Importing build_dir.hw.xilinx_u280_xdma_201920_3/SortKernel.xclbin
Loading: 'build_dir.hw.xilinx_u280_xdma_201920_3/SortKernel.xclbin'
kernel has been created
kernel start------
PASS!
Write DDR Execution time 127.131us
Kernel Execution time 1129.78us
Read DDR Execution time 83.459us
Total Execution time 1340.37us
------------------------------------------------------------