Global Namespace

// namespaces

namespace xf
    namespace xf::compression

// enums

enum comp_decom_flows
enum comp_decom_flows
enum d_type
enum d_type
enum design_flow
enum design_flow
enum list_mode
enum list_mode
enum m_enumMode

// structs

struct xlibData

template <typename T>
struct zlib_aligned_allocator

// classes

class xfLz4
class xflz4
class zlibDriver
class zlibFactory

// global variables

const int gz_max_literal_count
constexpr auto DEFLATE_METHOD
constexpr auto MIN_BLOCK_SIZE
constexpr auto page_aligned_mem
constexpr auto c_clOutOfResource
constexpr auto c_clinvalidbin
constexpr auto c_clinvalidvalue
constexpr auto c_clinvalidprogram
constexpr auto c_clOutOfHostMemory
constexpr auto c_headermismatch
constexpr auto c_installRootDir
constexpr auto c_hardXclbinPath
constexpr auto c_hardFullXclbinPath
const std::vector <std::string> compress_kernel_names
const std::vector <std::string> stream_decompress_kernel_name
const int gz_max_literal_count
constexpr auto DEFLATE_METHOD
constexpr auto MIN_BLOCK_SIZE
constexpr auto page_aligned_mem
constexpr auto c_clOutOfResource
constexpr auto c_clinvalidbin
constexpr auto c_clinvalidvalue
constexpr auto c_clOutOfHostMemory
constexpr auto c_headermismatch
constexpr auto c_hardXclbinPath

// macros

#define BLOCK_SIZE_IN_KB
#define BLOCK_SIZE_IN_KB
#define BLOCK_SIZE_IN_KB
#define BLOCK_SIZE_IN_KB
#define BLOCK_SIZE_IN_KB
#define C_COMPUTE_UNIT
#define C_COMPUTE_UNIT
#define DECOMP_OUT_SIZE
#define DECOMP_OUT_SIZE
#define DEFLATE_BUFFER
#define DELETE_OBJ(buffer)
#define DELETE_OBJ(buffer)
#define DIN_BUFFERCOUNT
#define DIN_BUFFERCOUNT
#define DOUT_BUFFERCOUNT
#define DOUT_BUFFERCOUNT
#define D_COMPUTE_UNIT
#define D_COMPUTE_UNIT
#define ERROR_STATUS(call)
#define ERROR_STATUS(call)
#define HOST_BUFFER_SIZE
#define HOST_BUFFER_SIZE
#define HOST_BUFFER_SIZE
#define HOST_BUFFER_SIZE
#define HOST_BUFFER_SIZE
#define H_COMPUTE_UNIT
#define H_COMPUTE_UNIT
#define INPUT_BUFFER_SIZE
#define INPUT_BUFFER_SIZE
#define KB
#define MAX_CCOMP_UNITS
#define MAX_CCOMP_UNITS
#define MAX_COMPUTE_UNITS
#define MAX_COMPUTE_UNITS
#define MAX_CR
#define MAX_CR
#define MAX_DDCOMP_UNITS
#define MAX_DDCOMP_UNITS
#define MAX_HOST_BUFFER_SIZE
#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 OUTPUT_BUFFER_SIZE
#define OVERLAP_BUF_COUNT
#define OVERLAP_BUF_COUNT
#define OVERLAP_BUF_COUNT
#define PARALLEL_ENGINES
#define PARALLEL_ENGINES

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

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

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

#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