Skip to main content

build_fused_programs

Function build_fused_programs 

Source
pub fn build_fused_programs(
    state_count: u32,
    input_len: u32,
) -> FusedDecodeScanPrograms
Expand description

Build fused decode→scan programs from the same DFA tables the GpuLiteralSet uses.

§Arguments

  • transitions - Flattened state_count × 256 DFA transition table
  • accept - Per-state accept/output array
  • state_count - Number of DFA states
  • input_len - Maximum input buffer length (bytes)

§Returns

FusedDecodeScanPrograms with both base64 and hex fused programs. If construction fails for either, that field is None.