FZGPUModules 2.0
GPU-accelerated modular compression pipelines
Loading...
Searching...
No Matches
fzgpumodules.h
Go to the documentation of this file.
1#pragma once
2
8#include <cuda_runtime.h>
9#include <vector>
10
11#include "fzm_format.h"
12
13#include "pipeline/compressor.h"
14#include "pipeline/dag.h"
15#include "pipeline/stat.h"
16
17#include "stage/stage.h"
18
19#include "log.h"
20
23#include "coders/rle/rle.h"
Adaptive Data Mapping (ADM) stage — remaps u16/u32 integer streams into a compact 8-bit symbol domain...
rANS entropy coding stage (GPU, via vendored dietGPU kernel templates).
Bit-packing stage: packs N-bit integers into a dense byte stream.
GPU bit-matrix transpose stage (W × N bit shuffle over fixed-size chunks).
Pipeline builder and execution API.
Compression DAG wiring, execution, and memory strategy types.
First-order difference coding stage with optional negabinary fusion.
FZM binary file format definitions — structs, enums, and helpers.
Huffman entropy coding stage with selectable encode mode.
Logging infrastructure and macros.
Fused Lorenzo predictor and quantizer stage.
Plain integer Lorenzo predictor (delta coding / prefix sum). Lossless.
Negabinary (base -2) integer encoding helpers.
Element-wise negabinary encode/decode stage (TIn[] ↔ TOut[]).
Direct-value quantizer stage with error-bounded coding and lossless outlier fallback.
Run-Length Encoding stage (lossless, stream-ordered).
Recursive Zero-byte Elimination stage — lossless byte-stream compressor.
Base class interface for all compression stages.
Reconstruction quality metrics (MSE, PSNR, max error, NRMSE).
Element-wise zigzag encode/decode stage (TIn[] ↔ TOut[]).