Skip to main content

build_payload

Function build_payload 

Source
pub fn build_payload(
    gpu_architecture: impl Into<String>,
    gpu_model: impl Into<String>,
    rocm_version: impl Into<String>,
    gpu_count: usize,
    cpu_cores: usize,
    ram_gb: f32,
    benchmark_outcome: Option<&BenchmarkOutcome>,
) -> Result<TelemetryPayload>
Expand description

Build a telemetry payload from hardware info and benchmark outcome.

The payload contains only hardware/benchmark data from the allow-lists. Personal data validation is performed before returning.