Pulp
1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
recipes.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
pulp_tooling/gpu_probe/probe_result.hpp
>
4
5
#include <optional>
6
#include <string>
7
#include <vector>
8
9
namespace
pulp::tooling::gpu_probe
{
10
12
struct
ArtifactPayload
{
13
Artifact
artifact
;
14
std::vector<std::uint8_t>
bytes
;
15
};
16
18
struct
RunOptions
{
19
bool
apply_negative_mutation
=
false
;
22
std::optional<std::string>
gpu_evidence_id
;
23
};
24
26
struct
RecipeRun
{
27
ProbeResult
result
;
28
std::vector<ArtifactPayload>
payloads
;
29
};
30
32
bool
validate
(
const
RecipeRun
& run, std::string* error =
nullptr
);
33
35
RecipeRun
run_renderer3d_recipe
(
const
RunOptions
& options = {});
37
RecipeRun
run_gpu_compute_magnitude_recipe
(
const
RunOptions
& options = {});
38
43
RecipeRun
run_gpu_audio_stft_recipe
(
const
RunOptions
& options = {});
44
50
RecipeRun
run_threejs_multi_pass_recipe
(
51
const
RunOptions
& options = {},
52
std::optional<std::string> threejs_runtime_root = std::nullopt);
53
54
}
// namespace pulp::tooling::gpu_probe
pulp::tooling::gpu_probe
Bounded recipe definitions, owned evidence, and native GPU probe runs.
Definition
dpr_measurement.hpp:10
pulp::tooling::gpu_probe::run_threejs_multi_pass_recipe
RecipeRun run_threejs_multi_pass_recipe(const RunOptions &options={}, std::optional< std::string > threejs_runtime_root=std::nullopt)
Run the blocking deterministic multi-pass recipe through a Three.js runtime.
pulp::tooling::gpu_probe::run_gpu_compute_magnitude_recipe
RecipeRun run_gpu_compute_magnitude_recipe(const RunOptions &options={})
Run the blocking deterministic GPU magnitude recipe and CPU oracle.
pulp::tooling::gpu_probe::run_gpu_audio_stft_recipe
RecipeRun run_gpu_audio_stft_recipe(const RunOptions &options={})
Run one blocking GPU STFT frame and its CPU oracle.
pulp::tooling::gpu_probe::validate
bool validate(const ProbeResult &result, std::string *error=nullptr)
Validate bounds, recipe identity, ordered pass aggregation, and artifacts.
pulp::tooling::gpu_probe::run_renderer3d_recipe
RecipeRun run_renderer3d_recipe(const RunOptions &options={})
Run the blocking deterministic Renderer3D/readback recipe.
probe_result.hpp
pulp::tooling::gpu_probe::ArtifactPayload
Owning artifact descriptor plus its exact payload bytes.
Definition
recipes.hpp:12
pulp::tooling::gpu_probe::ArtifactPayload::artifact
Artifact artifact
Definition
recipes.hpp:13
pulp::tooling::gpu_probe::ArtifactPayload::bytes
std::vector< std::uint8_t > bytes
Definition
recipes.hpp:14
pulp::tooling::gpu_probe::Artifact
Bounded artifact descriptor; payload bytes are owned by ArtifactPayload.
Definition
probe_result.hpp:149
pulp::tooling::gpu_probe::ProbeResult
Closed v1 metadata and verdict for one recipe execution.
Definition
probe_result.hpp:158
pulp::tooling::gpu_probe::RecipeRun
Owning recipe result and byte-exact artifact payloads.
Definition
recipes.hpp:26
pulp::tooling::gpu_probe::RecipeRun::payloads
std::vector< ArtifactPayload > payloads
Definition
recipes.hpp:28
pulp::tooling::gpu_probe::RecipeRun::result
ProbeResult result
Definition
recipes.hpp:27
pulp::tooling::gpu_probe::RunOptions
Options that bind one native recipe execution and its negative control.
Definition
recipes.hpp:18
pulp::tooling::gpu_probe::RunOptions::apply_negative_mutation
bool apply_negative_mutation
Definition
recipes.hpp:19
pulp::tooling::gpu_probe::RunOptions::gpu_evidence_id
std::optional< std::string > gpu_evidence_id
Optional trace-correlation identity.
Definition
recipes.hpp:22
tools
cli
gpu_probe
include
pulp_tooling
gpu_probe
recipes.hpp
Generated by
1.15.0