https://github.com/jdibenes/game_of_life_cuda
OpenGL / CUDA implementation of Conway's Game of Life.
https://github.com/jdibenes/game_of_life_cuda
cpp cuda opengl qt6 simulation
Last synced: 3 months ago
JSON representation
OpenGL / CUDA implementation of Conway's Game of Life.
- Host: GitHub
- URL: https://github.com/jdibenes/game_of_life_cuda
- Owner: jdibenes
- Created: 2025-07-30T20:21:23.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-09-08T04:17:13.000Z (10 months ago)
- Last Synced: 2025-09-08T06:18:36.547Z (10 months ago)
- Topics: cpp, cuda, opengl, qt6, simulation
- Language: C++
- Homepage:
- Size: 291 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Game of Life CUDA
OpenGL / CUDA implementation of Conway's Game of Life.
Uses Qt 6.7 for the GUI.

# Build
Tested on NVIDIA RTX 5000 GPU:
- Windows 10 MSVC 2019 CUDA 12.4
- Ubuntu 22.04 gcc 11.4.0 CUDA 12.4
1. Install CUDA and Qt 6.
2. Open the .pro project file (there is one for Windows and one for Linux) in QtCreator.
3. Edit the .pro file with the correct paths to your CUDA installation.
4. Save the .pro file.
5. Select Release configuration.
6. Build.
On Ubuntu, if your computer has an integrated GPU, you may need to run the application using:
```
__GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 ./game_of_life_cuda
```