#include <gpu_audio_provider_pool.hpp>
Public Attributes | |
| std::uint64_t | keep_warm_ns = 30'000'000'000 |
| How long a returned provider stays warm before eviction. | |
| std::uint32_t | capacity = 4 |
| Warm providers kept at once; returning one more evicts the least recently returned. | |
| std::uint64_t | release_budget_ns = 250'000'000 |
| Budget for releasing each evicted provider. | |
| std::uint32_t pulp::gpu_audio::GpuAudioProviderPool::Config::capacity = 4 |
Warm providers kept at once; returning one more evicts the least recently returned.
| std::uint64_t pulp::gpu_audio::GpuAudioProviderPool::Config::keep_warm_ns = 30'000'000'000 |
How long a returned provider stays warm before eviction.
| std::uint64_t pulp::gpu_audio::GpuAudioProviderPool::Config::release_budget_ns = 250'000'000 |
Budget for releasing each evicted provider.
One that cannot drain in time has its device destroyed and is kept quarantined for the life of the process rather than freed while the GPU may touch it.