Skip to main content

super_resolve_with_policy

Function super_resolve_with_policy 

Source
pub fn super_resolve_with_policy(
    req: &SrRequest<'_>,
    prefer_gpu: bool,
    thermal: ThermalHint,
    budget: VisionVramBudget,
    out: &mut [u8],
) -> Result<(SrReport, VisionComputeReport), CvError>
Expand description

Super-resolve with explicit thermal + VRAM policy (B2 surface).

Classical CPU always executes; prefer_gpu is recorded honestly in compute and does not invent a second adapter.