Advancing Automatic Code Generation for Agent-Based Simulations on Heterogeneous Hardware

Jiajian Xiao, Philipp Andelfinger, Wentong Cai, Paul Richmond, Alois Knoll, David Eckhoff

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The performance of agent-based simulations has been shown to benefit immensely from execution on hardware accelerator devices such as graphics processing units (GPUs). Given the increasingly heterogeneous hardware platforms available to researchers, it is important to enable modellers to target multiple devices using a single model specification, and to avoid the need for in-depth knowledge of the hardware. Further, key modelling steps such as the definition of the simulation space and the specification of rules to resolve conflicts among agents should be supported in a simple and generic manner, while generating efficient code. To achieve these goals, we extend the OpenABL modelling language and code generation framework by three aspects: firstly, a new OpenCL backend enables the co-execution of arbitrary agent-based models on heterogeneous hardware. Secondly, the OpenABL language is extended to support graph-based simulation spaces. Thirdly, we specify a generic interface for specifying conflict resolution rules. In a performance comparison to the existing OpenABL backends, we show that depending on the simulation model, the opportunity for CPU-GPU co-execution enables a speedup of up to 2.0 over purely GPU-based simulation.

Original languageEnglish
Title of host publicationEuro-Par 2019
Subtitle of host publicationParallel Processing Workshops - International Workshops, Revised Selected Papers
EditorsUlrich Schwardmann, Christian Boehme, Dora B. Heras, Valeria Cardellini, Emmanuel Jeannot, Antonio Salis, Claudio Schifanella, Ravi Reddy Manumachu, Dieter Schwamborn, Laura Ricci, Oh Sangyoon, Thomas Gruber, Laura Antonelli, Stephen L. Scott
PublisherSpringer
Pages308-319
Number of pages12
ISBN (Print)9783030483395
DOIs
StatePublished - 2020
Event25th International European Conference on Parallel and Distributed Computing, EuroPar 2019 - Göttingen, Germany
Duration: 26 Aug 201930 Aug 2019

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11997 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference25th International European Conference on Parallel and Distributed Computing, EuroPar 2019
Country/TerritoryGermany
CityGöttingen
Period26/08/1930/08/19

Keywords

  • Agent-based simulation
  • Heterogeneous hardware
  • OpenABL
  • OpenCL
  • Parallel and distributed simulation

Fingerprint

Dive into the research topics of 'Advancing Automatic Code Generation for Agent-Based Simulations on Heterogeneous Hardware'. Together they form a unique fingerprint.

Cite this