wrote gpu traversal