- 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/maximal_independent_set
- Build kernel(Step 2)
Run the following make command to build your XCLBIN and host binary targeting a specific device. This process takes long. .. code-block:: bash
make run TARGET=hw PLATFORM=xilinx_u50_gen3x16_xdma_5_202210_1
- Run kernel(Step 3)
To get the benchmark results, run the following command.
./build_dir.hw.xilinx_u50_gen3x16_xdma_5_202210_1/host.exe -xclbin build_dir.hw.xilinx_u50_gen3x16_xdma_5_202210_1/mis_kernel.xclbin -o data/data-csr-offset.mtx -i data/data-csr-indicesweights.mtx -mis data/mis.txt
Renumber Input Arguments:
Usage: host.exe -[-xclbin -o -i -mis] -xclbin: the kernel name -o offset file of input graph in CSR format -i edge file of input graph in CSR format -mis golden reference file for validatation
Note: Default arguments are set in Makefile, you can use other Datasets listed in the table.