Executable Usage - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
  • Work Directory(Step 1)

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

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

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

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

To get the benchmark results, please 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/kernel_renumber.xclbin -i data/example.txt

Renumber Input Arguments:

Usage: host.exe -[-xclbin -i]
      -xclbin:           the kernel name
      -i:                the input data

Note: Default arguments are set in Makefile, the data have only one column that the node’s community id is divided by other clustering algorithm, for example louvain.

  • Example output(Step 4)
-----------------Renumber----------------
INFO: numVertices=16
Within renumberClustersContiguously()
INFO: renumberClustersContiguously time 0.0150 ms.
Found Platform
Platform Name: Xilinx
Info: Context created
Info: Command queue created
Found Device=xilinx_u50_gen3x16_xdma_201920_3
INFO: Importing kernel_renumber.xclbin
Loading: 'kernel_renumber.xclbin'
Info: Program created
Info: Kernel created
kernel has been created
XRT build version: 2.8.0
Build hash: e286e561dffa8fe46b74cb36b00b7cac8f8fad68
Build date: 2021-02-02 21:38:45
Git branch: HEAD
PID: 129348
UID: 35700
[Wed Aug  4 08:52:03 2021 GMT]
HOST: xsjkumar50
EXE: /wrk/xsjhdnobkup5/yuxiangz/project/renumber/single_renumber/data64M/host.exe
[XRT] WARNING: unaligned host pointer '0x7fff7892a410' detected, this leads to extra memcpy
INFO: kernel start------
INFO: kernel end------
INFO: Execution time 0.59ms
Info: Time in host-to-device: 0.114176ms
Info: Time in kernel: 0.279552ms
Info: Time in device-to-host: 0.0768ms
INFO: Number of unique clusters 4
Info: Test passed