← All projects
Project record1 mention
Originally shared on Hacker News

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.

Last shared For Personal learning project for the author's own education in efficient GPU programming; blog series documents findings for readers.
01 / The problem

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.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. 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.