Difference between revisions of "Shortest Path"

From Rodinia
Jump to: navigation, search
(Created page with 'PathFinder uses dynamic programming to find a path on a 2-D grid from the bottom row to the top row with the smallest accumulated weights, where each step of the path moves strai...')
 
 
Line 6: Line 6:
 
node in the previous row that has the smallest accu-
 
node in the previous row that has the smallest accu-
 
mulated weight, and adds its own weight to the sum.
 
mulated weight, and adds its own weight to the sum.
 +
 +
This kernel uses the technique of ghost zone optimization.

Latest revision as of 18:40, 7 May 2009

PathFinder uses dynamic programming to find a path on a 2-D grid from the bottom row to the top row with the smallest accumulated weights, where each step of the path moves straight ahead or diagonally ahead. It iterates row by row, each node picks a neighboring node in the previous row that has the smallest accu- mulated weight, and adds its own weight to the sum.

This kernel uses the technique of ghost zone optimization.