Skip to main content

compile_program_to_c_with_offloads

Function compile_program_to_c_with_offloads 

Source
pub fn compile_program_to_c_with_offloads<'a>(
    prog: &'a CompiledProgram,
    policy_ctx: Option<(&'a Interner, &'a PolicyRegistry)>,
    offloads: &[Offload],
) -> Result<String, String>
Expand description

The Op-walker with an offload table (compile_program_to_c_offloaded); an empty table is compile_program_to_c_with_policy.