Back to search

Chalmers University of Technology

A comparative study of massive flock simulations on the cpu and the gpu

Abstract

dc:description.abstract

This paper describes how large scale flocks can be simulated efficiently with modern computer graphics using parallelization techniques and spatial data structures. The results show that parallelism is essential in improving performance, both in CPU and GPU implementations. Best performance was achieved using CUDA, uniform grid, and batching which resulted in a simulation of two million agents at a frame rate of 30 frames per second. The simulation was extended with a graphical user interface, predators, colours and user interaction in order to create a simple game.

Degree

thesis:*
Level thesis:degree_level
M2
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data och informationsteknik
Year dc:date.issued
2019

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Runvik, Arvid
  • Karlsson, Leo
  • Hallqvist, Elias
  • Lyrstrand, Oskar
  • Kraft, Jonathan
Advisor dc:contributor.supervisor
  • Fratarcangeli, Marco
Committee member dc:contributor.committeemember
  • Ahrendt, Wolfgang

Subjects

dc:subject × 12

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
DATX02

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Runvik, Arvid; Karlsson, Leo; Hallqvist, Elias; Lyrstrand, Oskar; Kraft, Jonathan. A comparative study of massive flock simulations on the cpu and the gpu. M2 thesis, 2019. https://hdl.handle.net/20.500.12380/301922