Finish merging dev and multi-gpu for bfs