Peak Performance in Matched Filtering: Fused Correlation and Statistically Controlled Screening on CPUs and GPUs
Alexander H. Nitz, Keisi Kacanja, Collin D. Capano
Abstract
Batched matched filtering and cross-correlation over large template banks are a primary computational cost in gravitational-wave astronomy, seismology, and radio transient searches. Standard pipelines pair a general-purpose inverse Fast Fourier Transform (FFT) with separate multiplication and peak-finding kernels, writing intermediate spectra and full correlation series to memory for every template. We fuse the conjugate product into the first inverse-transform butterflies and the peak reduction into the last so only candidate peaks leave processor registers, and tile batches in 2D so K2 correlations reuse 2K cached spectra. This shifts filtering from a DRAM-bandwidth-bound to an on-chip cache-bandwidth-bound regime. In some situations, the signal-to-noise ratio (SNR) is concentrated toward lower frequencies while higher frequencies dominate the transform length. We develop a hierarchical screening method that exploits this via a sequence of short low-frequency transforms before evaluating the full band, deriving stage thresholds from the spectral power profile and matched-filter noise autocovariance to target a specified false-dismissal probability. We demonstrate these methods in the open-source matchedfilter library across eight CPU architectures and two integrated GPUs (AMD Radeon 8060S via Vulkan and Apple M2 via Metal). On an AMD Ryzen AI Max+ 395 at N=4096, fused peak-only filtering is 1.4× faster than a standalone AOCL-FFTW inverse transform on one CPU core and 6.2× faster than rocFFT on its Radeon 8060S GPU (3.1× over MLX FFT on the M2 GPU). For a fiducial gravitational-wave search (ρth=5.5, 10-2 false-dismissal target), hierarchical screening yields a 26× speedup over AOCL-FFTW on CPU, 21× over rocFFT on the 8060S GPU, and 19× over MLX FFT on the M2 GPU.
Create a lesson
Related papers
PHOTO-CAT - Photometric Contamination Analyzer Tool: A High-Performance Framework for Photometric Contamination Assessment
Shared title terminology · G. Galletta, F. Favata, L. Bradley et al.
Model-Based Low-Order Wavefront Sensing and Control with a Fully Physical Digital Twin on MagAO-X
Shared title terminology · M. Mars, S. Y. Haffert, J. R. Males et al.
bihalofit-JAX: A Differentiable Code for the Nonlinear Matter Bispectrum and its Projected Statistics
Shared title terminology · Alexander Roskill, Matteo Zennaro
Euclid Data Release 1 (DR1): Spacecraft performance in the L2 environment
Shared title terminology · Euclid Collaboration, M. Schirmer, K. Paterson et al.
Performance Analysis of a Dual-Polarised Bowtie Antenna in the Low RF Band: A Low-Cost Undergraduate Laboratory Experiment
Shared title terminology · Robin Sen, Akshay Bhatia Neriyanuri, Geetanjali Sethi
Learning a model of non-stationary nuisances with non-local correlations for object detection
Shared title terminology · Olivier Flasseur, Eric Thiébaut, Loïc Denis et al.