FZGPUModules 2.0
GPU-accelerated modular compression pipelines
Loading...
Searching...
No Matches
nvrtc_warp_fusion.h
Go to the documentation of this file.
1#pragma once
2
17#include "backend/types.h"
18#include <cstddef>
19#include <cstdint>
20#include <string>
21#include <vector>
22
23namespace fz {
24class MemoryPool;
25
26namespace fused {
27
33 std::string predictor = "Lorenzo1DPredictor";
34 std::vector<std::string> transforms; // optional, in execution order
35 std::string coder = "AdaptiveBitpackCoder"; // swappable sink
36 int elems_per_lane = 1;
37};
38
41
53 const WarpFusionSpec& spec, const float* d_in, size_t n_ab,
54 const uint8_t* pred_params, size_t params_bytes,
55 uint8_t* d_out, MemoryPool* pool, fz::stream_t stream);
56
57} // namespace fused
58} // namespace fz
Definition mempool.h:82
Definition dag.h:24
size_t launchNvrtcWarpFused(const WarpFusionSpec &spec, const float *d_in, size_t n_ab, const uint8_t *pred_params, size_t params_bytes, uint8_t *d_out, MemoryPool *pool, fz::stream_t stream)
std::string generateWarpFusionSource(const WarpFusionSpec &spec)
The CUDA source the codegen emits for spec (exposed for tests/inspection).
Definition nvrtc_warp_fusion.h:32
Backend-neutral GPU type aliases.