# Improved OpenCL-based Implementation of Social Field Pedestrian Model

**Authors:** Bin Yu, Ke Zhu, Kaiteng Wu, Michael Zhang

arXiv: 1803.04782 · 2018-03-19

## TL;DR

This paper enhances an OpenCL-based social field pedestrian model by introducing divide-and-conquer algorithms and optimizing GPU computation, significantly increasing efficiency for large-scale crowd simulations.

## Contribution

It proposes a novel divide-and-conquer algorithm and detailed GPU optimization techniques for the social field pedestrian model.

## Key findings

- GPU model up to 71.56 times faster than CPU
- GPU model 13.3 times faster than previous GPU version
- Enhanced efficiency enables analysis of super-large scale crowds

## Abstract

Two aspects of improvements are proposed for the OpenCL-based implementation of the social field pedestrian model. In the aspect of algorithm, a method based on the idea of divide-and-conquer is devised in order to overcome the problem of global memory depletion when fields are of a larger size. This is of importance for the study of finer pedestrian walking behavior, which usually requires larger fields. In the aspect of computation, the OpenCL heterogeneous framework is thoroughly studied. Factors that may affect the numerical efficiency are evaluated, with regarding to the social field model previously proposed. This includes usage of local memory, deliberate patch of data structures for avoidance of bank conflicts, and so on. Numerical experiments disclose that the numerical efficiency is brought to an even higher level. Compared to the CPU model and the previous GPU model, the current GPU model can be at most 71.56 and 13.3 times faster respectively so that it is more qualified to be a core engine for analysis of super-large scale crowd.

## Full text

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

## Figures

21 figures with captions in the complete paper: https://tomesphere.com/paper/1803.04782/full.md

## References

24 references — full list in the complete paper: https://tomesphere.com/paper/1803.04782/full.md

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