Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
health_provider.hpp File Reference
#include <pulp_tooling/gpu_health/health_result.hpp>
#include <memory>
#include <string>

Go to the source code of this file.

Classes

class  pulp::tooling::gpu_health::HealthProvider
 Blocking producer interface for the three independent GPU health probes. More...
struct  pulp::tooling::gpu_health::HealthProbeOptions
 Fault controls applied after real GPU work completes. More...

Namespaces

namespace  pulp
namespace  pulp::tooling
namespace  pulp::tooling::gpu_health
 Bounded, typed evidence returned by Pulp GPU health diagnostics.

Functions

std::unique_ptr< HealthProvider > pulp::tooling::gpu_health::make_default_health_provider (HealthProbeOptions options={})
 Create the native blocking provider and transfer sole ownership to the caller.
HealthResult pulp::tooling::gpu_health::run_health_check (HealthProvider &provider, bool render_requested=true)
 Execute the requested probes serially and derive one closed HealthResult.
int pulp::tooling::gpu_health::exit_code (const HealthResult &result)
 Map pass to 0, fail to 1, and unavailable or unverified to 2.
std::string pulp::tooling::gpu_health::render_human (const HealthResult &result)
 Render an owning human-readable report; machine consumers use to_json().