GPU shortest-path algorithm implementations (Vulkan/GLSL)
This project implements several shortest-path algorithms on the GPU using Vulkan and GLSL as a personal learning exercise in writing efficient GPU code. It explores the GPU execution model to understand why a simple CPU algorithm like Dijkstra can beat many GPU implementations. The code will be open-sourced and the journey is documented in a series of blog posts.
What it addresses
Shortest-path algorithms are notoriously hard to make fast on the GPU; a simple CPU algorithm like Dijkstra often beats many GPU implementations.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
GPU shortest-path algorithm implementations (Vulkan/GLSL)
This project implements several shortest-path algorithms on the GPU using Vulkan and GLSL as a personal learning exercise in writing efficient GPU code. It explores the GPU execution model to understand why a simple CPU algorithm like Dijkstra can beat many GPU implementations. The code will be open-sourced and the journey is documented in a series of blog posts.
Problem: Shortest-path algorithms are notoriously hard to make fast on the GPU; a simple CPU algorithm like Dijkstra often beats many GPU implementations.
Audience: Personal learning project for the author's own education in efficient GPU programming; blog series documents findings for readers.
Posted by @softwarehippie · Original source ↗
Source text · @softwarehippie · · Source ↗
As a personal learning project on how to write efficient GPU code I'm trying to implement different shortest-path algorithms on the GPU.