Get the latest tech news

Accelerated Game of Life with CUDA / Triton


Let’s look at implementing Conway’s Game of Life using a graphics card. I want to experiment with different libraries and techniques, to see how to get the best performance. I’m g…

Triton is a custom programming language that both simplifies writing GPU kernels, and can handle a lot of performance enhancements that are pretty tedious to implement manually in CUDA. When starting this project, I wanted to experiment with 1 byte per cell as that is closer to a typical ML kernel which uses quantized floats. As we’re limited by memory bandwidth, shrinking the storage by a factor of 8 will completely smash any incremental improvements we can make on the kernel.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Life

Life

Photo of game

game

Photo of CUDA

CUDA

Related news:

News photo

Roblox, Discord sued after 15-year-old boy was allegedly groomed online before he died by suicide | Ethan Dallas was targeted by an adult sexual predator on Roblox when he was 12, and later on Discord, according to a lawsuit. He took his own life last year.

News photo

Father says iPhone feature saved daughter’s life after crash on I-485

News photo

Life, work, death and the peasant: Rent and extraction