FZGPUModules 2.0
GPU-accelerated modular compression pipelines
Loading...
Searching...
No Matches
chunk_fusion.h
Go to the documentation of this file.
1#pragma once
2
15#include "fused/chunk_fusion/chunk_geometry.h" // chunk geometry constants
16#include "backend/types.h"
17#include <cstddef>
18#include <cstdint>
19
20namespace fz {
21class MemoryPool;
22
23namespace fused {
24
26enum class ChunkCoderKind { RZE, RRE };
27
42 ChunkCoderKind coder, const float* d_in, size_t n, float ebx2_r,
43 uint32_t radius, float threshold, uint8_t* d_out, MemoryPool* pool, fz::stream_t stream);
44
45} // namespace fused
46} // namespace fz
size_t launchFusedChunkPfpl(ChunkCoderKind coder, const float *d_in, size_t n, float ebx2_r, uint32_t radius, float threshold, uint8_t *d_out, MemoryPool *pool, fz::stream_t stream)
ChunkCoderKind
The variable-length coder that terminates a chunk-fused chain (the swappable sink).
Definition chunk_fusion.h:26
Chunk-cooperative fusion geometry — single source of truth.
Definition mempool.h:82
Definition dag.h:24
@ RRE
Repeated-word bitmap reducer with recursive bitmap compression (LC component)
Backend-neutral GPU type aliases.