Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::gpu_audio::GpuConvolverStagedBreaker Struct Reference

Circuit breaker for the staged GPU readback. More...

#include <gpu_convolver.hpp>

Public Attributes

std::uint32_t trip_after_misses = 8
std::uint32_t probe_interval_blocks = 32
std::uint32_t recover_after_hits = 4

Detailed Description

Circuit breaker for the staged GPU readback.

After trip_after_misses consecutive blocks whose GPU result is missing, the worker stops submitting and runs the CPU convolution for every block, probing the GPU once every probe_interval_blocks. A probe that lands on time puts the GPU on probation; recover_after_hits consecutive on-time results return the node to GPU output, and any miss on probation trips it again. All three must be non-zero. Configure before prepare().

Member Data Documentation

◆ probe_interval_blocks

std::uint32_t pulp::gpu_audio::GpuConvolverStagedBreaker::probe_interval_blocks = 32

◆ recover_after_hits

std::uint32_t pulp::gpu_audio::GpuConvolverStagedBreaker::recover_after_hits = 4

◆ trip_after_misses

std::uint32_t pulp::gpu_audio::GpuConvolverStagedBreaker::trip_after_misses = 8

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/gpu_audio/include/pulp/gpu_audio/gpu_convolver.hpp