pub fn execute_sparse_fft_kernel<T>(
signal: &[T],
sparsity: usize,
algorithm: SparseFFTAlgorithm,
window_function: WindowFunction,
gpu_arch: &str,
compute_capability: (i32, i32),
available_memory: usize,
) -> FFTResult<(Vec<Complex64>, Vec<usize>, KernelStats)>Expand description
Execute sparse FFT on GPU using optimized kernels
This function provides a high-level interface to the GPU kernel implementation, handling memory allocation, kernel execution, and result collection.
§Arguments
signal- Input signalsparsity- Expected number of significant frequency componentsalgorithm- Sparse FFT algorithm to usewindow_function- Window function to applygpu_arch- GPU architecture namecompute_capability- GPU compute capabilityavailable_memory- Available GPU memory in bytes
§Returns
- Result containing sparse frequency components and kernel statistics