Adding gpu bfs