- Work Directory(Step 1)
The steps for library download and environment setup can be found in l2_vitis_data_analytics. For getting the design,
cd L2/demos/text/dup_match
- 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/TGP_Kernel.xclbin -in ./data/test.csv -golden ./data/golden.txt
Duplicate Record Match Input Arguments:
Usage: host.exe -xclbin <xclbin_name> -in <input data> -golden <golden data> -xclbin: the kernel name -in : input data -golden: golden data
- Example output(Step 4)
---------------------Duplicate Record Matching Flow----------------- DupMatch::run... TwoGramPredicate: column map size=14 threshold=1000 tf_value_ size is 238, index count=14, term count=122, skip=0 config=15, 316 config=15, 301 Found Platform Platform Name: Xilinx Found Device=xilinx_u50_gen3x16_xdma_201920_3 INFO: Importing build_dir.hw.xilinx_u50_gen3x16_xdma_201920_3/TGP_Kernel.xclbin Loading: 'build_dir.hw.xilinx_u50_gen3x16_xdma_201920_3/TGP_Kernel.xclbin' kernel has been created kernel start------ threshold=1000 index count=11, term count=65, skip=0 threshold=1000 index count=14, term count=36, skip=0 CompoundPredicate: pair size=30 CompoundPredicate: pair size=30 CompoundPredicate: pair size=36 duplicate sets 10 DupMatch::run End Execution time 8.979s Pass validation. ------------------------------------------------------------