Skip to main content

gen_multi_transform_codelet

Macro gen_multi_transform_codelet 

Source
gen_multi_transform_codelet!() { /* proc-macro */ }
Expand description

Generate a vectorized multi-transform codelet.

Emits a function that processes V DFT transforms of size N simultaneously, where V is the SIMD lane count for the chosen ISA and precision.

The generated function name follows notw_{size}_v{v}_{isa}_{ty}.

§Arguments

  • size — DFT size: 2, 4, or 8
  • v — number of simultaneous transforms (lane count)
  • isa — target ISA: sse2, avx2, or scalar
  • ty — float type: f32 or f64

§Example

gen_multi_transform_codelet!(size = 4, v = 8, isa = avx2, ty = f32);
// emits: pub unsafe fn notw_4_v8_avx2_f32(...)