AOCL-FFTZ Boosts MRI Reconstruction Speeds by Up to 11.8×
Home
Latest reporting
News
AMD’s AOCL-FFTZ library accelerates MRI image reconstruction by up to 11.8× on AMD EPYC processors, requiring no code changes.
AMD’s AOCL-FFTZ, a Fast Fourier Transform (FFT) library optimized for “Zen”-based processors, has demonstrated significant performance improvements in medical image reconstruction tasks. Benchmarking tests using the Berkeley Advanced Reconstruction Toolbox (BART) revealed that AOCL-FFTZ accelerated FFT operations by up to 11.8× and reduced end-to-end reconstruction times by up to 2.8× on 5th Generation AMD EPYC™ Server CPUs. These gains were achieved without requiring any changes to the application code.
Why FFT is Critical in MRI Reconstruction
Magnetic Resonance Imaging (MRI) scanners capture raw spatial-frequency data, known as k-space, which must be transformed into readable images through computational processes. The Fast Fourier Transform (FFT) is central to this process, particularly for Cartesian sampling, where reconstruction involves inverse FFTs per receive coil, followed by coil combination and image-domain adjustments. Advanced methods like parallel imaging and compressed sensing further amplify the role of FFT by embedding it within iterative solvers.
Given the computational intensity of FFT operations, their efficiency directly impacts the overall speed of MRI reconstruction. AOCL-FFTZ addresses this by providing highly optimized, vectorized kernels for AMD’s Zen architecture, enabling faster execution of FFT tasks.
Key Features of AOCL-FFTZ
AOCL-FFTZ is part of the AMD Optimizing CPU Libraries (AOCL) suite and is specifically designed for AMD processors. Its notable features include:
Support for single and double precision, real and complex transforms.Vectorized compute kernels optimized for AVX-512, AVX-256, and AVX-128.Multi-threaded scaling via OpenMP.Runtime CPU detection and dynamic dispatch for compatibility across Zen generations.An FFTW-compatible wrapper for seamless integration with existing FFTW-based applications.
The FFTW wrapper allows developers to adopt AOCL-FFTZ without modifying their source code, enabling a straightforward transition to the optimized library.
Benchmarking Results
To evaluate AOCL-FFTZ, AMD conducted controlled experiments using BART, an open-source MRI reconstruction toolbox. The tests compared two builds: one using the stock FFTW library and the other using AOCL-FFTZ via its FFTW-compatible interface. Both builds were identical in all other aspects, including hardware, compiler, and linear algebra libraries.
The tests were performed on a dual-socket AMD EPYC “Turin” system with 128 cores per socket, running Ubuntu 24.04 LTS and GCC 13.3. Five workloads representing different MRI reconstruction scenarios were evaluated, including Cartesian IFFT, iterative parallel imaging, and radial non-uniform FFT. Key findings include:
FFT operations were accelerated by 2.9× to 11.8×, depending on the workload.End-to-end reconstruction times improved by up to 2.83× for FFT-dominated tasks, such as large Cartesian reconstructions.Iterative parallel imaging workloads saw a 2.25× speedup.
These results highlight the substantial impact of AOCL-FFTZ on both isolated FFT performance and overall reconstruction efficiency.
Implications for Medical Imaging
The performance gains achieved by AOCL-FFTZ have practical implications for the medical imaging field. Faster MRI reconstruction can enhance clinical workflows, reduce patient wait times, and enable more complex imaging techniques. By offering a drop-in replacement for FFTW, AOCL-FFTZ provides an accessible path for developers and researchers to leverage these improvements without significant integration efforts.
