Skip to content

CUDA implementation of the Floyd Warshall All pairs shortest path algorithm (blocked and regular version)

Notifications You must be signed in to change notification settings

pappasadrian/apspFloydWarshallCuda

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

apspFloydWarshallCuda

CUDA implementation of the Floyd Warshall All pairs shortest path algorithm (blocked and regular version)

The program takes one argument, the size of the array. The float numbers within the array are randomly generated. When choosing the array size take into consideration available GPU memory.

The Floyd Warshall Algorithm is executed on the GPU first and then on the CPU so as to compare execution times. Generally, the GPU is orders of magnitude faster but it depends on the specific GPU and CPU used.

The blocked version uses a different algorithm that utilizes shared memory and is substantially faster than the regular version. A good CUDA introductory example showcasing efficent shared memory usage.

Athanassios Kintsakis [email protected] [email protected]

About

CUDA implementation of the Floyd Warshall All pairs shortest path algorithm (blocked and regular version)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cuda 100.0%