The CAT project is a CUDA-based library designed to simulate Larger than Life Cellular automata using GPU tensor cores.
A CPU version of CAT can be found here: https://github.com/kezada94/CAT_cpu
Cellular automata (CA) are simulation models that can produce complex emergent behaviors from simple local rules. Although state-of-the-art GPU solutions are already fast due to their data-parallel nature, their performance can rapidly degrade in CA with a large neighborhood radius. With the inclusion of tensor cores across the entire GPU ecosystem, interest has grown in finding ways to leverage these fast units outside the field of artificial intelligence, which was their original purpose.
In this work, we present CAT, a GPU tensor core approach that can accelerate CA in which the cell transition function acts on a weighted summation of its neighborhood. CAT is evaluated theoretically, using an extended PRAM cost model, as well as empirically using the Larger Than Life (LTL) family of CA as case studies. The results confirm that the cost model is accurate, showing that CAT exhibits constant time throughout the entire radius range
To build the project, you need to have CMake and CUDA installed on your system. Follow these steps to build the project:
Clone the repository:
git clone <repository_url>
cd CAT
Create a build directory and navigate into it:
mkdir build
cd build
Run CMake to configure the project:
cmake ..
Build the project using Make:
make
After building the project, you can run the tests using the following command:
./tests/test_exe
goes here