Using Shared Memory as a Cache in Cellular Automata Water Flow Simulations on GPUs
AGH University of Science and Technology, Department of Computer Science, Krakow, Poland
Computer Science, 14 (3), 385-401, 2013
@article{l2013using,
title={Using Shared Memory as a Cache in Cellular Automata Water Flow Simulations on GPUs},
author={Topa, Pawe and Mlocek, Pawel},
journal={Computer Science},
volume={14},
pages={3},
year={2013}
}
Graphics processors (GPU – Graphic Processor Units) recently have gained a lot of interest as an efficient platform for general-purpose computation. Cellular Automata approach which is inherently parallel gives the opportunity to implement high performance simulations. This paper presents how shared memory in GPU can be used to improve performance for Cellular Automata models. In our previous works, we proposed algorithms for Cellular Automata model that use only a GPU global memory. Using a profiling tool, we found bottlenecks in our approach. With this paper, we will introduce modifications that takes an advantage of fast shared memory. The modified algorithm is presented in details, and the results of profiling and performance test are demonstrated. Our unique achievement is comparing the efficiency of the same algorithm working with a global and shared memory.
December 6, 2013 by hgpu