|
FZGPUModules 2.0
GPU-accelerated modular compression pipelines
|
Backend-neutral GPU type aliases. More...
Go to the source code of this file.
Namespaces | |
| namespace | fz |
Functions | |
| const char * | fz::getBackendErrorString (error_t err) |
| size_t | fz::getPoolUsedMemCurrent (mempool_t pool) |
| size_t | fz::getPoolUsedMemHigh (mempool_t pool) |
Variables | |
| constexpr bool | fz::kBackendSupportsGraphCapture = true |
Backend-neutral GPU type aliases.
Every stage/pipeline/pool header spells the GPU stream/event/pool handle types as fz::stream_t/fz::event_t/fz::mempool_t instead of naming cudaStream_t etc. directly. Exactly one backend is compiled into any given build (selected at configure time via the FZGMOD_BACKEND CMake option, which defines one of FZGMOD_BACKEND_CUDA/_HIP/_SYCL) — this is a compile-time alias, not a runtime abstraction, so it costs nothing.
CUDA and HIP are implemented; the SYCL branch is added when that backend lands.