Fast Simulation of Conway's Game of Life Using Bitwise Parallel Bulk Computation on a GPU

被引:2
作者
Fujita, Toru [1 ]
Nakano, Koji [1 ]
Ito, Yasuaki [1 ]
机构
[1] Hiroshima Univ, Dept Informat Engn, Kagamiyama 1-4-1, Higashihiroshima 7398527, Japan
关键词
Cellular automaton; parallel algorithms; CUDA; GPGPU; MEMORY MACHINE; OFFLINE PERMUTATION; ALGORITHMS;
D O I
10.1142/S0129054116500404
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Conway's Game of Life is the most well-known cellular automaton. The universe of the Came of Life is a 2-dimensional array of cells, each of which takes two possible states, alive or dead. The state of every cell is repeatedly updated according to those of eight neighbors. A. cell will be alive if exactly three neighbors are alive, or if it is alive and two neighbors are alive. The main contribution of this paper is to develop several acceleration techniques for simulating the Game of Life using a CPU as follows: (1) the states of 32/64 cells in 32/64-bit words (integers) and the next states are computed by the Bitwise Parallel Bulk Computation (BPBC) technique, (2) the states of cells stored in 2 words are updated at the same time by a thread, (3) warp shuffle instruction is used to directly transfer the current states stored in registers, and (4) multi-step simulation is performed to reduce the overhead of data transfer and invoking CUDA kernel. The experimental results show that, the performance of our GPU implementation using GeForce GTX TITAN X is 1350 x 10(9) updates per second for 16K-step simulation of 512K x 512K cells stored in the SSD. Since Intel Core i7 CPU using the same technique performs 13.4 x 10(9) updates per second, our CPU implementation for the Game of Life achieves a speedup factor of 100. Thus, these techniques work very efficiently on a CPU.
引用
收藏
页码:981 / 1003
页数:23
相关论文
共 30 条
  • [1] Effcient GPU implementations for the Conway's Game of Life
    Fujita, Toru
    Nishikori, Daigo
    Nakano, Koji
    Ito, Yasuaki
    PROCEEDINGS OF 2015 THIRD INTERNATIONAL SYMPOSIUM ON COMPUTING AND NETWORKING (CANDAR), 2015, : 11 - 20
  • [2] An Efficient GPU Implementation of CKY Parsing Using the Bitwise Parallel Bulk Computation Technique
    Fujita, Toru
    Nakano, Koji
    Ito, Yasuaki
    Takafuji, Daisuke
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2017, E100D (12): : 2857 - 2865
  • [3] Accelerating the Smith-Waterman Algorithm Using the Bitwise Parallel Bulk Computation Technique on the GPU
    Nishimura, Takahiro
    Bordim, Jacir Luiz
    Ito, Yasuaki
    Nakano, Koji
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2019, E102D (12): : 2400 - 2408
  • [4] Accelerating the Smith-Waterman Algorithm Using Bitwise Parallel Bulk Computation Technique on GPU
    Nishimura, Takahiro
    Bordim, Jacir L.
    Ito, Yasuaki
    Nakano, Koji
    2017 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2017, : 932 - 941
  • [5] Bitwise Parallel Bulk Computation on the GPU, with Application to the CKY Parsing for Context-free Grammars
    Fujita, Toru
    Nakano, Koji
    Ito, Yasuaki
    2016 IEEE 30TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2016, : 589 - 598
  • [6] Parallel Computation of Ground Radiation Simulation Based on GPU
    Zhao Yanjie
    Yao Guoqing
    Ding Yanqing
    ADVANCES IN INFORMATION AND COMMUNICATION TECHNOLOGY, 2017, 107 : 9 - 14
  • [7] Bulk GCD Computation Using a GPU to Break Weak RSA Keys
    Fujita, Toru
    Nakano, Koji
    Ito, Yasuaki
    2015 IEEE 29TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS, 2015, : 385 - 394
  • [8] Max-Plus Generalization of Conway's Game of Life
    Sakata, Kotaro
    Tanaka, Yuta
    Takahashi, Daisuke
    COMPLEX SYSTEMS, 2020, 29 (01): : 63 - 76
  • [9] Parallel Numerical Algorithms for Simulation of Rectangular Waveguides by Using GPU
    Ciegis, Raimondas
    Bugajev, Andrej
    Kancleris, Zilvinas
    Slekas, Gediminas
    PARALLEL PROCESSING AND APPLIED MATHEMATICS (PPAM 2013), PT II, 2014, 8385 : 301 - 310
  • [10] Fast Parallel Computation of Computer-Generated Hologram using a multi-GPU environmental PC
    Takada, Naoki
    Shimobaba, Tomoyoshi
    Sugiyama, Atsushi
    Okada, Naohisa
    Nakayama, Hirotaka
    Shiraki, Atsushi
    Masuda, Nobuyuki
    Ito, Tomoyoshi
    IDW/AD '12: PROCEEDINGS OF THE INTERNATIONAL DISPLAY WORKSHOPS, PT 2, 2012, 19 : 1281 - 1282