Executable Usage - 2024.2 English

Vitis Libraries

Release Date
2024-11-29
Version
2024.2 English
  • Work Directory(Step 1)

The steps for library download and environment setup can be found in l2_vitis_graph. To get the design,

cd L2/benchmarks/shortest_path_float_pred
  • Build kernel(Step 2)

Run the following make command to build your XCLBIN and host binary targeting a specific device. This process takes long.

make run TARGET=hw PLATFORM=xilinx_u50_gen3x16_xdma_201920_3
  • Run kernel(Step 3)

To get the benchmark results, run the following command.

./build_dir.hw.xilinx_u50_gen3x16_xdma_201920_3/host.exe -xclbin build_dir.hw.xilinx_u50_gen3x16_xdma_201920_3/shortestPath_top.xclbin -o data/data-csr-offset.mtx -c data/data-csr-indicesweights.mtx -g data/data-golden.sssp.mtx

Single Source Shortest Path Input Arguments:

Usage: host.exe -[-xclbin -o -c -g]
       -xclbin      Xclbin File Name
       -o           Offset File Name
       -c           Indices File Name
       -g           Golden File Name

Note

Default arguments are set in Makefile, you can use other Datasets listed in the table.

  • Example output(Step 4)
---------------------Shortest Path----------------
id: 92 max out: 13
Found Platform
Platform Name: Xilinx
Found Device=xilinx_u50_gen3x16_xdma_201920_3
INFO: Importing build_dir.hw.xilinx_u50_gen3x16_xdma_201920_3/shortestPath_top.xclbin
Loading: 'build_dir.hw.xilinx_u50_gen3x16_xdma_201920_3/shortestPath_top.xclbin'
kernel has been created
kernel start------
kernel call success
kernel call finish
kernel end------
Execution time 11.651ms
Write DDR Execution time 0.273831ms
Kernel[0] Execution time 11.2184ms
Read DDR Execution time 0.130417ms
Total Execution time 11.6227ms