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

**Authors:** Phillip Duncan-Gelder, Darin O’Keeffe, Philip J. Bones, Steven Marsh

PMC · DOI: 10.1007/s11517-025-03438-3 · Medical & Biological Engineering & Computing · 2025-09-13

## TL;DR

Barracuda is a new GPU virtual machine that allows dynamic simulations of biological processes, improving accuracy in biomedical research.

## Contribution

Barracuda introduces a Turing-complete GPU virtual machine for dynamic simulations with real-time parameter adjustments.

## Key findings

- Barracuda enables dynamic recalculations in MRI simulations, such as T1 relaxation times and temperature effects.
- Benchmark validations show Barracuda's versatility and computational completeness.
- Barracuda's modular design supports flexible integration into biomedical workflows.

## 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® 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 \documentclass[12pt]{minimal}
				\usepackage{amsmath}
				\usepackage{wasysym} 
				\usepackage{amsfonts} 
				\usepackage{amssymb} 
				\usepackage{amsbsy}
				\usepackage{mathrsfs}
				\usepackage{upgreek}
				\setlength{\oddsidemargin}{-69pt}
				\begin{document}$$T_1$$\end{document}T1 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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12868006/full.md

## Figures

11 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12868006/full.md

## References

27 references — full list in the complete paper: https://tomesphere.com/paper/PMC12868006/full.md

---
Source: https://tomesphere.com/paper/PMC12868006