Executable Usage - 2023.2 English

Vitis Libraries

Release Date
2023.2 English
  • Work Directory(Step 1)

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

cd L2/demo/webpEnc
  • 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_u200_xdma_201830_2
  • Run kernel(Step 3)

To get the benchmark results, please run the following command.

./build_dir.hw.xilinx_u200_xdma_201830_2/cwebp list.rst -use_ocl -q 80 -o output

Webp Input Arguments:

Usage: cwebp -[-use_ocl -q -o]
       list.rst:     the input list
       -use_ocl:     should be kept
       -q:           compression quality
       -o:           output directory

Note: Default arguments are set in Makefile, you can use other pictures listed in the table.

  • Example output(Step 4)
INFO: CreateKernel start.
INFO: Number of Platforms: 1
INFO: Selected Platform: Xilinx
INFO: Number of devices for platform 0: 1
INFO: target_device found:   xilinx_u200_xdma_201830_2
INFO: target_device chosen:  xilinx_u200_xdma_201830_2
NFO: OpenCL Version: 1.-48
INFO: Loading kernel.xclbin
INFO: Loading kernel.xclbin Finished


*** Picture: 1 - 1,  Buffer: 0, Instance: 0, Event: 0 ***
INFO: Host2Device finished. Computation time is 0.480000 (ms)
INFO: PredKernel Finished. Computation time is 0.042000 (ms)
INFO: ACKernel Finished. Computation time is 0.012000 (ms)
INFO: Device2Host finished. Computation time is 0.005000 (ms)
INFO: Loop of Pictures Finished. Computation time is 16.500000 (ms)
INFO: VP8EncTokenLoopAsync Finished. Computation time is 22.676000 (ms)
INFO: WebPEncodeAsync Finished. Computation time is 47.519000 (ms)
INFO: Release Kernel.