AOCL COMPRESSION#

Introduction#

AOCL Compression is a software framework of various lossless compression and decompression methods tuned and optimized for AMD Zen™ based CPUs. This framework offers a single set of unified APIs for all the supported compression and decompression methods which facilitate the applications to easily integrate and use them. For AOCL Compression framework APIs, refer to Standardized/Unified API.

Methods Supported#

AOCL Compression supports compression and decompression methods of the following libraries along with their native APIs.

  1. LZ4

  2. ZLIB

  3. LZMA

  4. ZSTD

  5. BZIP2

  6. SNAPPY

  7. LZ4HC

It supports the dynamic dispatcher feature that executes the most optimal function variant implemented using Function Multi-versioning thereby offering a single optimized library portable across different x86 CPU architectures. AOCL Compression framework is developed in C for UNIX® and Windows® based systems. A test suite is provided for the validation and performance benchmarking of the supported compression and decompression methods. This suite also supports the benchmarking of IPP compression methods, such as, lz4, lz4hc, zlib and bzip2. The library build framework offers CTest-based testing of the test cases implemented using GTest and the library test suite. Starting from AOCL-Compression 4.2, the library offers openMP based multi-threaded compression for a few methods.

Contacts#

AOCL Compression is developed and maintained by AMD. For support, send an email to toolchainsupport@amd.com.