Lifting Code Generation of Cardiac Physiology Simulation to Novel Compiler Technology - Inria - Institut national de recherche en sciences et technologies du numérique
Conference Papers Year : 2023

Lifting Code Generation of Cardiac Physiology Simulation to Novel Compiler Technology

Abstract

The study of numerical models for the human body has become a major focus of the research community in biology and medicine. For instance, numerical ionic models of a complex organ, such as the heart, must be able to represent individual cells and their interconnections through ionic channels, forming a system with billions of cells, and requiring efficient code to handle such a large system. The modeling of the electrical system of the heart combines a compute-intensive kernel that calculates the intensity of current flowing through cell membranes, and feeds a linear solver for computing the electrical potential of each cell. Considering this context, we propose limpetMLIR, a code generator and compiler transformer to accelerate the kernel phase of ionic models and bridge the gap between compiler technology and electrophysiology simulation. LimpetMLIR makes use of the MLIR infrastructure, its dialects, and transformations to drive forward the study of ionic models, and accelerate the execution of multi-cell systems. Experiments conducted in 43 ionic models show that our limpetMLIR based code generation greatly outperforms current state-ofthe-art simulation systems by an average of 2.9×, reaching peak speedups of more than 15× in some cases. To our knowledge, this is the first work that deeply connects an optimizing compiler infrastructure to electrophysiology models of the human body, showing the potential benefits of using compiler technology in the simulation of human cell interactions.
Fichier principal
Vignette du fichier
cgo23main-p9-p-b17495f280-62993-final.pdf (660.31 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03977688 , version 1 (08-02-2023)

Identifiers

Cite

Arun Thangamani, Tiago Trevisan, Vincent Loechner, Stephane Genaud, Bérenger Bramas. Lifting Code Generation of Cardiac Physiology Simulation to Novel Compiler Technology. 21st ACM/IEEE International Symposium on Code Generation and Optimization (CGO ’23), ACM, Feb 2023, Montréal Québec, Canada. pp.13, ⟨10.1145/3579990.3580008⟩. ⟨hal-03977688⟩
116 View
188 Download

Altmetric

Share

More