Skip to main content

generate_split_radix

Function generate_split_radix 

Source
pub fn generate_split_radix(input: TokenStream) -> Result<TokenStream, Error>
Expand description

Generate a split-radix twiddle codelet for the given size.

If no size is specified (empty input), generates the generic runtime-parameterized split-radix twiddle codelet. If a size is given (8 or 16), generates a specialized unrolled version for that size.

ยงErrors

Returns a syn::Error when the input does not parse as a valid size literal, or when the size is not in the supported set {8, 16} (or empty for the generic variant).