@@ -25,6 +25,11 @@ struct elimination_forest {
2525 child_ptrs{host_exec, static_cast <size_type>(size + 2 )},
2626 children{host_exec, static_cast <size_type>(size)},
2727 postorder{host_exec, static_cast <size_type>(size)},
28+ levels{host_exec, static_cast <size_type>(size)},
29+ euler_walk{host_exec, 2 * static_cast <size_type>(size) - 1 },
30+ euler_levels{host_exec, 2 * static_cast <size_type>(size) - 1 },
31+ euler_first{host_exec, static_cast <size_type>(size)},
32+ euler_last{host_exec, static_cast <size_type>(size)},
2833 inv_postorder{host_exec, static_cast <size_type>(size)},
2934 postorder_parents{host_exec, static_cast <size_type>(size)}
3035 {}
@@ -35,6 +40,11 @@ struct elimination_forest {
3540 array<IndexType> child_ptrs;
3641 array<IndexType> children;
3742 array<IndexType> postorder;
43+ array<IndexType> levels;
44+ array<IndexType> euler_walk;
45+ array<IndexType> euler_levels;
46+ array<IndexType> euler_first;
47+ array<IndexType> euler_last;
3848 array<IndexType> inv_postorder;
3949 array<IndexType> postorder_parents;
4050};
0 commit comments