Tests examples for lz4, snappy, lz4_streaming, snappy_streaming, zlib, gzip, and zstd kernels are available in the L2/tests/
directory.
- AMD LZ4 Streaming Compression
- AMD Snappy Compression
- AMD GZip Compression
- AMD GZip Streaming Compression
- AMD GZip Streaming 16KB Compression
- AMD GZip Streaming 8KB Compression
- AMD GZip Static Streaming Compression
- AMD Zlib Streaming Compression
- AMD Zlib Streaming 16KB Compression
- AMD Zlib Streaming 8KB Compression
- AMD Zlib Streaming Static Compression
- AMD ZSTD Compression
- AMD LZ4 Streaming Decompression
- AMD Snappy Streaming Decompression
- AMD ZSTD Decompression
Execute the following commands before building any of the examples:
$ source <Vitis_Installed_Path>/installs/lin64/Vitis/2022.2/settings64.sh $ source <Vitis_Installed_Path>/xbb/xrt/packages/setup.sh
Build Instructions
Execute the following commands to compile and test run this example:
$ make run TARGET=sw_emu
Variable TARGET
can take the following values:
- sw_emu: Software emulation.
- hw_emu: Hardware emulation.
- hw : Run on actual hardware.
By default, the target device is set as AMD Alveo™ U200. To target a different device, use the PLATFORM
argument. For example:
make run TARGET=sw_emu PLATFORM=<new_device.xpfm>
Note
Build instructions explained in this section are common for all the applications. The generated executable names might differ.