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 |
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().
| std::uint32_t pulp::gpu_audio::GpuConvolverStagedBreaker::probe_interval_blocks = 32 |
| std::uint32_t pulp::gpu_audio::GpuConvolverStagedBreaker::recover_after_hits = 4 |
| std::uint32_t pulp::gpu_audio::GpuConvolverStagedBreaker::trip_after_misses = 8 |