pathfinder in cuda