Barracuda: a dynamic, Turing-complete GPU virtual machine for high-performance simulations

Accurate simulation of dynamic biological phenomena, such as tissue response and disease progression, is crucial in biomedical research and diagnostics. Traditional GPU-based simulation frameworks, typically static CUDA<sup>®</sup> environments, struggle with dynamically evolving parameters, limiting flexibility and clinical applicability. We introduce Barracuda, an open-source, lightweight, header-only, Turing-complete virtual machine designed for seamless integration into GPU environments. Barracuda enables real-time parameter perturbations through an expressive instruction set and operations library, implemented in a compact C/CUDA library. A dedicated high-level programming language and Rust-based compiler enhance accessibility, allowing straightforward integration into biomedical simulation workflows. Benchmark validations, including Rule 110 cellular automaton and Mandelbrot computations, confirm Barracuda's versatility and computational completeness. In magnetic resonance imaging (MRI) simulations, Barracuda allows for the dynamic recalculation of critical parameters, such as <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>T</mml:mi> <mml:mn>1</mml:mn></mml:msub> </mml:math> relaxation times and temperature-induced off-resonance frequencies. Although it introduces computational overhead compared to static kernels, Barracuda significantly improves simulation accuracy by enabling dynamic modeling of key biological processes. Barracuda's modular architecture supports incremental integration, providing valuable flexibility for biomedical research and rapid prototyping. Future developments aim to optimize performance and expand domain-specific instruction sets, reinforcing Barracuda's role in bridging static GPU programming and dynamic simulation requirements.

Authors

Institutions

Publication Details

Journal
Medical & Biological Engineering & Computing
Published
2025-09-13
DOI
https://doi.org/10.1007/s11517-025-03438-3
Primary Topic
Advanced MRI Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Barracuda: a dynamic, Turing-complete GPU virtual machine for high-performance simulations

Darin O'Keeffe, Phillip Duncan‐Gelder, Philip J. Bones, Steven Marsh
Medical & Biological Engineering & Computing
Advanced MRI Techniques and Applications
article

Barracuda: a dynamic, Turing-complete GPU virtual machine for high-performance simulations

Darin O'Keeffe, Phillip Duncan‐Gelder, Philip J. Bones, Steven Marsh
article en

Abstract

Accurate simulation of dynamic biological phenomena, such as tissue response and disease progression, is crucial in biomedical research and diagnostics. Traditional GPU-based simulation frameworks, typically static CUDA<sup>®</sup> environments, struggle with dynamically evolving parameters, limiting flexibility and clinical applicability. We introduce Barracuda, an open-source, lightweight, header-only, Turing-complete virtual machine designed for seamless integration into GPU environments. Barracuda enables real-time parameter perturbations through an expressive instruction set and operations library, implemented in a compact C/CUDA library. A dedicated high-level programming language and Rust-based compiler enhance accessibility, allowing straightforward integration into biomedical simulation workflows. Benchmark validations, including Rule 110 cellular automaton and Mandelbrot computations, confirm Barracuda's versatility and computational completeness. In magnetic resonance imaging (MRI) simulations, Barracuda allows for the dynamic recalculation of critical parameters, such as <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>T</mml:mi> <mml:mn>1</mml:mn></mml:msub> </mml:math> relaxation times and temperature-induced off-resonance frequencies. Although it introduces computational overhead compared to static kernels, Barracuda significantly improves simulation accuracy by enabling dynamic modeling of key biological processes. Barracuda's modular architecture supports incremental integration, providing valuable flexibility for biomedical research and rapid prototyping. Future developments aim to optimize performance and expand domain-specific instruction sets, reinforcing Barracuda's role in bridging static GPU programming and dynamic simulation requirements.

Medical & Biological Engineering & ComputingVol. 64(1)
University of Canterbury (NZ), Government of New Zealand (NZ), Southern District Health Board (NZ), Christchurch Clinical Studies Trust (NZ)
University of Canterbury
Openalex Percentile: Top 66%
Advanced MRI Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.