Skip to main content

summarize_function_borrowed_via

Function summarize_function_borrowed_via 

Source
pub fn summarize_function_borrowed_via<F>(
    dispatch: &F,
    fn_ast_in: &[u32],
    callgraph_in: &[u32],
    cached_summary_in: &[u32],
    bit_count: u32,
) -> Result<Vec<u32>, String>
where F: Fn(&Program, &[&[u8]], Option<[u32; 3]>) -> Result<Vec<Vec<u8>>, String>,
Expand description

GPU function-summary projection using borrowed dispatch inputs.

This avoids constructing an owned input vector for backends that already accept borrowed byte slices.