Function evaluate_fft
pub fn evaluate_fft(
context: &mut WgpuComputeContext,
schedule: Schedule,
n: usize,
warmups: usize,
samples: usize,
) -> Result<(GeneratedShader, GpuEvaluation), ForgeError>Expand description
Differential-oracle evaluation of the radix-2 FFT (out = forward DFT(in))
against dft_cpu. One workgroup of n = schedule.workgroup_size threads
(one complex element per thread; n must be a power of two), mirroring the
single-workgroup dispatch of evaluate_topk(): element_count = n with
workgroup_size = n launches exactly one workgroup. The input/output buffers
hold 2*n interleaved f32.