WPI - Computer Science Department, MS Thesis Presentation, Bailey Sostek "Programming Abstractions for GPU-Accelerated Agent-Based Simulations" Sostek , "


Computer Science

Bailey Sostek

MS Student

WPI Computer Science Department


Tuesday, April 25, 2023

Time: 3:30 p.m. – 4:30 p.m.

Zoom: https://wpi.zoom.us/j/97413966262


Advisor: Prof. Charles Robert

Reader: Prof. Joshua Cuneo



Creating accelerated agent-based simulations (ABS) that run on the GPU has historically required knowledge of multiple programming languages and low-level graphics technologies. We propose that developers could instead use a single, high-level programming language that abstracts away many of the complexities associated with GPU acceleration of ABS.

 To test this we developed Apiary, an ABS framework that transforms dataflow representations of simulation logic into low-level GLSL code through an intermediate representation. We discuss the technical implementation of Apiary, the authoring abstractions we developed for it, and its performance characteristics in three different simulations. Apiary's engine outperforms popular open-source and commercial ABS packages that run on the CPU by multiple orders of magnitude and is accompanied by an authoring environment using a single language for both simulation and representation.