Global Namespace

// namespaces

namespace xf
    namespace xf::compression

// enums

enum comp_decom_flows
enum d_type
enum list_mode

// structs

template <typename T>
struct zlib_aligned_allocator

// classes

class xfLz4
class xflz4

// global variables

const int gz_max_literal_count
constexpr auto page_aligned_mem
constexpr auto c_clOutOfResource
constexpr auto c_clinvalidbin
constexpr auto c_clinvalidvalue

// macros

#define BLOCK_SIZE_IN_KB
#define BLOCK_SIZE_IN_KB
#define BLOCK_SIZE_IN_KB
#define BLOCK_SIZE_IN_KB
#define DECOMP_OUT_SIZE
#define DELETE_OBJ(buffer)
#define DIN_BUFFERCOUNT
#define DOUT_BUFFERCOUNT
#define ERROR_STATUS(call)
#define HOST_BUFFER_SIZE
#define HOST_BUFFER_SIZE
#define HOST_BUFFER_SIZE
#define HOST_BUFFER_SIZE
#define INPUT_BUFFER_SIZE
#define KB
#define MAX_CCOMP_UNITS
#define MAX_COMPUTE_UNITS
#define MAX_COMPUTE_UNITS
#define MAX_CR
#define MAX_DDCOMP_UNITS
#define MAX_IN_BUFFER_PARTITION
#define MAX_IN_BUFFER_SIZE
#define MAX_NUMBER_BLOCKS
#define MAX_NUMBER_BLOCKS
#define MAX_NUMBER_BLOCKS
#define OUTPUT_BUFFER_SIZE
#define OVERLAP_BUF_COUNT
#define OVERLAP_BUF_COUNT
#define OVERLAP_BUF_COUNT
#define PARALLEL_ENGINES

#define ZOCL_CHECK( \
    error, \
    call, \
    eflag, \
    expected \
    )

#define ZOCL_CHECK_2( \
    error, \
    call, \
    eflag, \
    expected_1, \
    expected_2 \
    )

Macros

#define BLOCK_SIZE_IN_KB

Default block size

#define HOST_BUFFER_SIZE

Maximum host buffer used to operate per kernel invocation

#define MAX_COMPUTE_UNITS

Maximum compute units supported

#define OVERLAP_BUF_COUNT

Value below is used to associate with Overlapped buffers, ideally overlapped execution requires 2 resources per invocation