A Flocking Boids Simulation and Optimization Structure for Mobile Multicore Architectures
Mark Joselli, Erick Baptista Passos, José Ricardo Silva, Medialab Marcelo Zamith, Medialab Esteban Clua, Medialab Eduardo Soluri · 2012
During the past few years, mobile phones and other mobile devices have gone from simple phone and messaging devices to high end smartphones with serious computing capabilities. Nowadays, most of these devices are equipped with multicore processors like dual- core CPUs and GPUs, which are designed for both low power consumption and high performance computation. Moreover, most devices still lack libraries for generic multicore computing usage, such as CUDA or OpenCL. However, computing certain specific kind of tasks in these mobile GPUs, and other available multicores processors, may be faster and much more efficient than their single threaded CPU counterparts. In this work, we present a novel approach for flocking boids simulation based on the Android renderscript API. We describe and implement a custom neighborhood grid, and present results with a simple game based on this platform.