Performance Study of an MRI Motion-Compensated Reconstruction Program on Intel CPUs, AMD EPYC CPUs, and NVIDIA GPUs

被引:1
作者
Zeroual, Mohamed Aziz [1 ,2 ]
Isaieva, Karyna [1 ,2 ]
Vuissoz, Pierre-Andre [1 ,2 ]
Odille, Freddy [1 ,2 ,3 ,4 ]
机构
[1] Inserm, IADI, U1254, F-54000 Nancy, France
[2] Univ Lorraine, F-54000 Nancy, France
[3] Univ Lorraine, CIC IT 1433, Inserm, F-54000 Nancy, France
[4] CHRU Nancy, F-54000 Nancy, France
来源
APPLIED SCIENCES-BASEL | 2024年 / 14卷 / 21期
关键词
magnetic resonance imaging; reconstruction; motion; high-performance computing; parallel processing;
D O I
10.3390/app14219663
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Motion-compensated image reconstruction enables new clinical applications of Magnetic Resonance Imaging (MRI), but it relies on computationally intensive algorithms. This study focuses on the Generalized Reconstruction by Inversion of Coupled Systems (GRICS) program, applied to the reconstruction of 3D images in cases of non-rigid or rigid motion. It uses hybrid parallelization with the MPI (Message Passing Interface) and OpenMP (Open Multi-Processing). For clinical integration, the GRICS needs to efficiently harness the computational resources of compute nodes. We aim to improve the GRICS's performance without any code modification. This work presents a performance study of GRICS on two CPU architectures: Intel Xeon Gold and AMD EPYC. The roofline model is used to study the software-hardware interaction and quantify the code's performance. For CPU-GPU comparison purposes, we propose a preliminary MATLAB-GPU implementation of the GRICS's reconstruction kernel. We establish the roofline model of the kernel on two NVIDIA GPU architectures: Quadro RTX 5000 and A100. After the performance study, we propose some optimization patterns for the code's execution on CPUs, first considering only the OpenMP implementation using thread binding and affinity and appropriate architecture-compilation flags and then looking for the optimal combination of MPI processes and OpenMP threads in the case of the hybrid MPI-OpenMP implementation. The results show that the GRICS performed well on the AMD EPYC CPUs, with an architectural efficiency of 52%. The kernel's execution was fast on the NVIDIA A100 GPU, but the roofline model reported low architectural efficiency and utilization.
引用
收藏
页数:25
相关论文
共 42 条
[1]   Numerical linear algebra on emerging architectures: the PLASMA and MAGMA projects [J].
Agullo, Emmanuel ;
Demmel, Jim ;
Dongarra, Jack ;
Hadri, Bilel ;
Kurzak, Jakub ;
Langou, Julien ;
Ltaief, Hatem ;
Luszczek, Piotr ;
Tomov, Stanimire .
SCIDAC 2009: SCIENTIFIC DISCOVERY THROUGH ADVANCED COMPUTING, 2009, 180
[2]  
amd, AMD UProf
[3]  
[Anonymous], INTEL VTUNE
[4]   VoxelMorph: A Learning Framework for Deformable Medical Image Registration [J].
Balakrishnan, Guha ;
Zhao, Amy ;
Sabuncu, Mert R. ;
Guttag, John ;
Dalca, Adrian, V .
IEEE TRANSACTIONS ON MEDICAL IMAGING, 2019, 38 (08) :1788-1800
[5]   Matrix description of general motion correction applied to multishot images [J].
Batchelor, PG ;
Atkinson, D ;
Irarrazaval, P ;
Hill, DLG ;
Hajnal, J ;
Larkman, D .
MAGNETIC RESONANCE IN MEDICINE, 2005, 54 (05) :1273-1280
[6]  
Blanchet G., 2012, Proceedings of the 2012 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP 2012), P1065, DOI 10.1109/ICASSP.2012.6288070
[7]  
Cabezas VC, 2014, I S WORKL CHAR PROC, P222, DOI 10.1109/IISWC.2014.6983061
[8]   Performance Portable Back-projection Algorithms on CPUs: Agnostic Data Locality and Vectorization Optimizations [J].
Chen, Peng ;
Wahib, Mohamed ;
Wang, Xiao ;
Takizawa, Shinichiro ;
Hirofuchi, Takahiro ;
Ogawa, Hirotaka ;
Matsuoka, Satoshi .
PROCEEDINGS OF THE 2021 ACM INTERNATIONAL CONFERENCE ON SUPERCOMPUTING, ICS 2021, 2021, :316-328
[9]  
Cook S, 2013, CUDA PROGRAMMING: A DEVELOPER'S GUIDE TO PARALLEL COMPUTING WITH GPUS, P1
[10]   Motion-corrected MRI with DISORDER: Distributed and incoherent sample orders for reconstruction deblurring using encoding redundancy [J].
Cordero-Grande, Lucilio ;
Ferrazzi, Giulio ;
Teixeira, Rui Pedro A. G. ;
O'Muircheartaigh, Jonathan ;
Price, Anthony N. ;
Hajnal, Joseph V. .
MAGNETIC RESONANCE IN MEDICINE, 2020, 84 (02) :713-726