Skip to main content

validate_path_reconstruct_readback

Function validate_path_reconstruct_readback 

Source
pub fn validate_path_reconstruct_readback(
    plan: &PathReconstructDispatchPlan,
    len: u32,
) -> Result<usize, String>
Expand description

Validate the length word returned by a single-target path-reconstruction dispatch.

Backend wrappers use this after readback so malformed GPU output is checked by the primitive owner rather than by each consumer.