pub fn gpu_batch_sparse_fft<T>(
signals: &[Vec<T>],
k: usize,
device_id: i32,
backend: GPUBackend,
algorithm: Option<SparseFFTAlgorithm>,
window_function: Option<WindowFunction>,
batchconfig: Option<BatchConfig>,
) -> FFTResult<Vec<SparseFFTResult>>
Expand description
Perform batch sparse FFT on GPU
Process multiple signals in a batch for better GPU utilization.
§Arguments
signals
- List of input signalsk
- Expected sparsity (number of significant frequency components)device_id
- GPU device ID (-1 for auto-select)backend
- GPU backend (CUDA, HIP, SYCL)algorithm
- Sparse FFT algorithm variantwindow_function
- Window function to apply before FFTbatchconfig
- Batch processing configuration
§Returns
- Vector of sparse FFT results, one for each input signal