- 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/pagerank_multi_channels
- 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/kernel_pagerank_0.xclbin -dataSetDir data/ -refDir data/
PageRank MultiChannels Input Arguments:
Usage: host.exe -[-xclbin -dataSetDir -refDir] -xclbin: the kernel name -dataSetDir: the path point to input directory -refDir: the path point to reference directory
Note: Default arguments are set in Makefile, you can use other Datasets listed in the table.
- Example output(Step 4)
Found Platform Platform Name: Xilinx INFO: Found Device=xilinx_u50_gen3x16_xdma_201920_3 INFO: Importing build_dir.hw.xilinx_u50_gen3x16_xdma_201920_3/kernel_pagerank_0.xclbin Loading: 'build_dir.hw.xilinx_u50_gen3x16_xdma_201920_3/kernel_pagerank_0.xclbin' INFO: Kernel has been created INFO: Finish kernel setup INFO: Finish event_write INFO: Finish event_kernel ... INFO: Finish kernel execution INFO: Finish E2E execution INFO: Data transfer from host to device: 379 us INFO: Data transfer from device to host: 192 us INFO: Average kernel execution per run: 174373 us INFO: Average execution per run: 174944 us ... INFO: sum_golden = 4.30706 INFO: sum_pagerank = 4.30706 INFO: Accurate Rate = 1 INFO: Err Geomean = 8.74996e-06 INFO: Result is correct