gpu_batch_sparse_fft

Function gpu_batch_sparse_fft 

Source
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>>
where T: NumCast + Copy + Debug + Sync + 'static,
Expand description

Perform batch sparse FFT on GPU

Process multiple signals in a batch for better GPU utilization.

§Arguments

  • signals - List of input signals
  • k - 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 variant
  • window_function - Window function to apply before FFT
  • batchconfig - Batch processing configuration

§Returns

  • Vector of sparse FFT results, one for each input signal